Remove old version.
[wolnelektury.git] / src / libraries / templates / libraries / library_view.html
index a972829..7b340be 100644 (file)
@@ -1,13 +1,22 @@
-{% extends "base.html" %}\r
+{% extends "2022/base_simple.html" %}\r
 {% load i18n %}\r
 \r
-{% block titleextra %}{{ library.name }}{% endblock %}\r
+{% block settings %}\r
+  {% load title %}\r
+  {% title library.name %}\r
+{% endblock %}\r
+\r
+{% block breadcrumbs %}\r
+  <a href="{% url 'libraries_main_view' %}"><span>{% trans 'Libraries directory' %}</span></a>\r
+  <a href="{{ library.catalog.get_absolute_url }}"><span>{{ library.catalog.name }}</span></a>\r
+{% endblock %}\r
 \r
+{% block titleextra %}{{ library.name }}{% endblock %}\r
 \r
-{% block body %}
-    <h1>{{ library.name }}</h1>
-    <div class="normal-text">
-        <p>Adres strony www: <a href="{{library.url}}">{{library.url}}</a></p>\r
-        {% autoescape off %}{{library.description}}{% endautoescape%}
-    </div>\r
-{% endblock %}
\ No newline at end of file
+{% block body %}\r
+  <h1>{{ library.name }}</h1>\r
+  <div class="normal-text">\r
+    <p>Adres strony www: <a href="{{library.url}}">{{library.url}}</a></p>\r
+    {% autoescape off %}{{library.description}}{% endautoescape%}\r
+  </div>\r
+{% endblock %}\r