register forms with 3rd party
[wolnelektury.git] / wolnelektury / templates / catalogue / menu.html
index 99d8515..1a90b5c 100644 (file)
@@ -5,27 +5,27 @@
        <li class="hidden-box-wrapper menu">
                <a href="{% url catalogue %}#autorzy" class="hidden-box-trigger menu">
                        <span class='mono'>{% trans "Authors" %}</span></a>
-               <div class="hidden-box">{% tag_list author %}</div>
+               <div class="hidden-box">{% if author %}{% tag_list author %}{% endif %}</div>
        </li>
        <li class="hidden-box-wrapper menu">
                <a href="{% url catalogue %}#gatunki" class="hidden-box-trigger menu">
                        <span class='mono'>{% trans "Genres" %}</span></a>
-               <div class="hidden-box">{% tag_list genre %}</div>
+               <div class="hidden-box">{% if genre %}{% tag_list genre %}{% endif %}</div>
        </li>
        <li class="hidden-box-wrapper menu">
                <a href="{% url catalogue %}#rodzaje" class="hidden-box-trigger menu">
                        <span class='mono'>{% trans "Kinds" %}</span></a>
-               <div class="hidden-box">{% tag_list kind %}</div>
+               <div class="hidden-box">{% if kind %}{% tag_list kind %}{% endif %}</div>
        </li>
        <li class="hidden-box-wrapper menu">
                <a href="{% url catalogue %}#epoki" class="hidden-box-trigger menu">
                        <span class='mono'>{% trans "Epochs" %}</span></a>
-               <div class="hidden-box">{% tag_list epoch %}</div>
+               <div class="hidden-box">{% if epoch %}{% tag_list epoch %}{% endif %}</div>
        </li>
        <li class="hidden-box-wrapper menu">
                <a href="{% url catalogue %}#motywy" class="hidden-box-trigger menu">
                        <span class='mono'>{% trans "Themes" %}</span></a>
-               <div class="hidden-box">{% tag_list theme %}</div>
+               <div class="hidden-box">{% if theme %}{% tag_list theme %}{% endif %}</div>
        </li>
        <li class="menu">
                <a href="{% url book_list %}" class="menu">