X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/640c22a3277a1483410fbff1696cf25881c2daad..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 ab4e6dd73..15786cf3b 100755 --- a/apps/social/templates/social/cite_promo.html +++ b/apps/social/templates/social/cite_promo.html @@ -1,18 +1,30 @@ +{% spaceless %} + {% load i18n %} +{% if main %} +
+{% endif %} + {% if cite %} + {% if cite.vip %} -

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

+

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

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

{{ cite.book.pretty_title }}

-
-{% else %} - {% if fallback %} - {% load fragment_promo from catalogue_tags %} - {% fragment_promo ctx %} + {% if cite.book %} +

{{ cite.book.pretty_title }}

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