Adding library own page
[wolnelektury.git] / apps / libraries / templates / libraries / library_view.html
diff --git a/apps/libraries/templates/libraries/library_view.html b/apps/libraries/templates/libraries/library_view.html
new file mode 100644 (file)
index 0000000..153ead0
--- /dev/null
@@ -0,0 +1,15 @@
+{% extends "base.html" %}\r
+{% load i18n %}\r
+\r
+{% block titleextra %}{{ library.name }}{% endblock %}\r
+\r
+\r
+{% block body %}
+    <h1>{{ library.name }}</h1>\r
+    <div class="left-column">
+        <div class="normal-text">
+            <p>Adres strony www: <a href="{{library.url}}">{{library.url}}</a></p>\r
+            {% autoescape off %}{{library.description}}{% endautoescape%}
+        </div>\r
+    </div>\r
+{% endblock %}
\ No newline at end of file