X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/357027375ff8867f42ca34bcbfb5a78b5b185fc3..e24e657ebf536f55c1bde66bd41563fae30a98b0:/src/social/templates/social/cite_promo.html?ds=inline 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 15786cf3b..1c3753c4a --- a/src/social/templates/social/cite_promo.html +++ b/src/social/templates/social/cite_promo.html @@ -1,30 +1,39 @@ {% spaceless %} - -{% load i18n %} - -{% if main %} -
-{% endif %} - -{% if cite %} - - - {% if cite.vip %} -

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

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

{{ cite.book.pretty_title }}

- {% endif %} -
- -{% endif %} - - -{% if main %} + {% load embed_video from social_tags %} + + {% if main %} +
+ {% endif %} + + {% if cite %} + + {% if cite.video %} +
+ {% embed_video cite.video %} +
+ {% endif %} + {% if cite.picture %} +
+ {{ cite.picture_alt }} +
+ {% endif %} +
+ {% if cite.vip %} +

{{ cite.vip }} poleca:

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

{{ cite.book.pretty_title }}

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