Content warnings.
[wolnelektury.git] / src / catalogue / templates / catalogue / book_short.html
index 4c69492..1df91ca 100644 (file)
         <ul class="book-box-tools">
           <li class="book-box-read">
             {% if book.html_file %}
+           <div>{% content_warning book %}</div>
               <a href="{% url 'book_text' book.slug %}" class="downarrow">{% trans "Read online" %}</a>
             {% endif %}
             {% if book.print_on_demand %}
             {% trans "For now this work is only available for our subscribers." %}
            <a href="/towarzystwo/">Dołącz do Towarzystwa Przyjaciół Wolnych Lektur</a>
          </p>
+          <div>{% content_warning book %}</div>
         {% endblock %}
       {% endif %}
       {% endcache %}