more graphics
[prawokultury.git] / prawokultury / templates / prevnext / previous.html
diff --git a/prawokultury/templates/prevnext/previous.html b/prawokultury/templates/prevnext/previous.html
new file mode 100755 (executable)
index 0000000..88a656b
--- /dev/null
@@ -0,0 +1,16 @@
+{% if number or url %}
+    {% load i18n %}
+    <a class="previous_page" 
+        {% if number %}
+            href="?page={{ number }}"
+        {% else %}
+            href="{{ url }}"
+        {% endif %}
+    >
+        {% if title %}
+            {{ title }}
+        {% else %}
+            {% trans "previous" %}
+        {% endif %}
+    </a>
+{% endif %}
\ No newline at end of file