allow marking long cites
[wolnelektury.git] / apps / social / templates / social / cite_promo.html
index 5caaf1d..ab4e6dd 100755 (executable)
@@ -1,9 +1,9 @@
 {% load i18n %}
 
 {% if cite %}
-<a href="{{ cite.get_absolute_url }}" class="cite">
+<a href="{{ cite.link }}" class="cite{% if cite.small %} cite-small{% endif %}">
     {% if cite.vip %}
-        <p class='vip'>{{ cite.vip }} {% trans "recommends" %}:</p>
+        <p class='vip mono'>{{ cite.vip }} {% trans "recommends" %}:</p>
     {% endif %}
     <blockquote class="cite-body">
         {{ cite.text|linebreaks|safe }}