X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/d0072de89eb395f99aedcdf7804e48b547cbbeca..6280673f35e13e75e81c5b7821bd2a44a1831eab:/apps/social/templates/social/cite_promo.html?ds=sidebyside diff --git a/apps/social/templates/social/cite_promo.html b/apps/social/templates/social/cite_promo.html index 5caaf1db5..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