rearrangements: new core app, templates in apps, split settings;
[wolnelektury.git] / wolnelektury / templates / catalogue / book_searched.html
diff --git a/wolnelektury/templates/catalogue/book_searched.html b/wolnelektury/templates/catalogue/book_searched.html
deleted file mode 100644 (file)
index 4b92c19..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-{% extends "catalogue/book_short.html" %}
-{% load i18n %}
-
-
-{% block box-class %}search-result{% endblock %}
-
-{% block right-column %}
-<div class="snippets">
-  {% for hit in hits %}
-  {% if hit.snippets %}
-  <p>In text:</p>
-  <div class="snippet-text"><a href="{% url book_text book.slug %}#f{{hit.section_number}}">{{hit.snippets.0|safe}}</a></div>
-  {% else %}
-  {% if hit.fragment %}
-  <div class="snippet-text">
-    <p>{% trans "In fragment" %}
-      {% if hit.themes_hit %}{% trans ", for themes:" %}{% for t in hit.themes_hit %}{{t.name}} {% endfor %}{% endif %}
-    </p>
-    <a href="{{hit.fragment.get_absolute_url}}">{{hit.fragment.short_text|safe}}</a>
-  </div>
-  {% endif %}
-  {% endif %}
-  {% endfor %}
-</div>
-
-{% endblock %}
-