X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/f2056dbaafa8f6a5bf72ef25ecf77060693ba35d..6280673f35e13e75e81c5b7821bd2a44a1831eab:/apps/social/templates/social/cite_promo.html diff --git a/apps/social/templates/social/cite_promo.html b/apps/social/templates/social/cite_promo.html index 0554d23af..15786cf3b 100755 --- a/apps/social/templates/social/cite_promo.html +++ b/apps/social/templates/social/cite_promo.html @@ -1,6 +1,13 @@ +{% spaceless %} + {% load i18n %} +{% if main %} +
+{% endif %} + {% if cite %} + {% if cite.vip %}

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

@@ -8,11 +15,16 @@
{{ cite.text|linebreaksbr|safe }}
+ {% if cite.book %}

{{ cite.book.pretty_title }}

-
-{% else %} - {% if fallback %} - {% load fragment_promo from catalogue_tags %} - {% fragment_promo ctx %} {% endif %} + + {% endif %} + + +{% if main %} +
+{% endif %} + +{% endspaceless %} \ No newline at end of file