X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/ae60b2a3949e96357477cc04f90fd0873cee8a92..019dfd7e87efcf03b08decb7af6552df3e3df215:/src/social/templates/social/cite_promo.html 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..f7c4e4832 --- a/src/social/templates/social/cite_promo.html +++ b/src/social/templates/social/cite_promo.html @@ -1,30 +1,38 @@ {% 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 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 %} + + {% endif %} + {% if cite.vip %} +

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

+ {% endif %} + {% 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 + {% endif %} +{% endspaceless %}