add favicon, reverse page titles
[redakcja.git] / apps / catalogue / templates / catalogue / base.html
index 4ba8a0e..8577f10 100644 (file)
@@ -1,19 +1,21 @@
-{% load compressed i18n %}
+{% load pipeline i18n %}
 {% load catalogue %}
 <!DOCTYPE html>
 <html>
-<head>
+<head lang="{{ LANGUAGE_CODE }}">
     <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
-    {% compressed_css 'listing' %}
-    <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}style.css" />
-    <title>{% block title %}{% trans "Platforma Redakcyjna" %}{% endblock title %}</title>
+    <link rel="icon" href="{{ STATIC_URL }}img/pr-icon.png" type="image/png" />
+    {% stylesheet 'catalogue' %}
+    <title>{% block title %}{% block titleextra %}{% endblock %} ::
+        {% trans "Platforma Redakcyjna" %}{% endblock title %}</title>
+    {% block add_css %}{% endblock %}
 </head>
 <body>
-
+<!--#include file='/pozor.html'-->
 <div id="tabs-nav">
 
-    <a href="{% url catalogue_document_list %}">
-        <img id="logo" src="{{ STATIC_URL }}img/wl-orange.png" />
+    <a href="{% url 'catalogue_document_list' %}">
+        <img id="logo" src="{{ STATIC_URL }}img/wl-orange.png" alt="Platforma" />
     </a>
 
     <div id="tabs-nav-left">
 
 </div>
 
-{% compressed_js 'listing' %}
+
+<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
+{% javascript 'catalogue' %}
+{% block add_js %}{% endblock %}
 {% block extrabody %}
 {% endblock %}
 </body>