X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/a2157081b0dc561e0040c57b4b2b239b69b8d342..e24e657ebf536f55c1bde66bd41563fae30a98b0:/src/social/templates/social/cite_promo.html?ds=sidebyside diff --git a/src/social/templates/social/cite_promo.html b/src/social/templates/social/cite_promo.html old mode 100755 new mode 100644 index 8c0bddedc..1c3753c4a --- a/src/social/templates/social/cite_promo.html +++ b/src/social/templates/social/cite_promo.html @@ -1,29 +1,39 @@ {% spaceless %} - {% load i18n %} + {% load embed_video from social_tags %} {% if main %} -
+
{% endif %} {% if cite %} - - {% if cite.banner %} - - {% else %} + + {% if cite.video %} +
+ {% embed_video cite.video %} +
+ {% endif %} + {% if cite.picture %} +
+ {{ cite.picture_alt }} +
+ {% endif %} +
{% if cite.vip %} -

{{ cite.vip }} {% trans "recommends" %}:

+

{{ cite.vip }} poleca:

{% endif %} -
- {{ cite.text|linebreaksbr|safe }} -
+ {% if cite.text %} +
+ {{ cite.text|linebreaksbr|safe }} +
+ {% endif %} {% if cite.book %}

{{ cite.book.pretty_title }}

{% endif %} - {% endif %} +
{% endif %} {% if main %}
{% endif %} -{% endspaceless %} \ No newline at end of file +{% endspaceless %}