new layout fixes
[wolnelektury.git] / src / catalogue / templates / catalogue / 2022 / book_detail.html
index a265abe..4eb6ec4 100644 (file)
           <header class="l-header">
             <div class="l-header__content">
               <p>{% for author in book.authors %}<a href="{{ author.get_absolute_url }}">{{ author.name }}</a>{% if not forloop.last %}, {% endif %}{% endfor %}
-                {% if book.translators %}
-                  (tłum. {% for translator in book.translators %}{{ translator }}{% endfor %})
-                {% endif %}
               </p>
               <h1><a href="{{ book.get_absolute_url }}">{{ book.title }}</a></h1>
+              {% if book.translators %}
+                <p class="l-header__translators">
+                  tłum.
+                  {% for translator in book.translators %}
+                    {{ translator }}{% if not forloop.last %}, {% endif %}
+                  {% endfor %}
+                </p>
+              {% endif %}
             </div>
             <div class="l-header__actions">
               <form method='post' action='{% url 'social_like_book' book.slug %}'>
           <div class="c-support">
             <div>
               <h2>Ta książka jest dostępna dla tysięcy dzieciaków dzięki <span>darowiznom</span> od osób takich jak <span>Ty</span>!</h2>
-              <a href="/towarzystwo/">Dorzuć się!</a>
+              <a href="{% url 'club_join' %}">Dorzuć się!</a>
             </div>
             <figure>
               <img src="{% static '2022/images/dziecko.jpeg' %}" alt="Dorzuć się!">