search: no tag boxes + smarter pd boxes
[wolnelektury.git] / src / catalogue / templates / catalogue / search_multiple_hits.html
index b3f522b..2c3c139 100644 (file)
     <span class="did_you_mean">{% trans "Did you mean" %}
       <a href="{% url 'search' %}?q={{did_you_mean|urlencode}}">{{did_you_mean|lower}}</a>?</span>
   {% endif %}
-  <div class="inline-tag-lists top-tag-list">
-    {% if tags %}
+  <div class="top-tag-list">
+    {% if pd_authors %}
       <div>
-        {% for tag in tags %}
-          <a class="tag-box" href="{{ tag.get_absolute_url }}">
-            {% include "catalogue/tag_box.html" %}
-          </a>
+        {% for author in pd_authors %}
+          <div class="tag-box">
+            {% include "pdcounter/pd_author_box.html" %}
+          </div>
         {% endfor %}
       </div>
     {% endif %}
@@ -30,7 +30,9 @@
     <ul class="work-list">
       {% for result in results %}
         <li class="Book-item">
-          {% book_searched result %}
+          <div class="search-result">
+            {% book_searched result %}
+          </div>
         </li>
       {% endfor %}
     </ul>