summaryrefslogtreecommitdiff
path: root/objectapp/templates/objectapp/tags/archives_gbobjects.html
diff options
context:
space:
mode:
Diffstat (limited to 'objectapp/templates/objectapp/tags/archives_gbobjects.html')
-rw-r--r--objectapp/templates/objectapp/tags/archives_gbobjects.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/objectapp/templates/objectapp/tags/archives_gbobjects.html b/objectapp/templates/objectapp/tags/archives_gbobjects.html
new file mode 100644
index 0000000..f799579
--- /dev/null
+++ b/objectapp/templates/objectapp/tags/archives_gbobjects.html
@@ -0,0 +1,15 @@
+{% load i18n %}
+<ul>
+ {% for date in archives %}
+ <li>
+ <a title="{% trans "Archives" %} {{ date|date:"YEAR_MONTH_FORMAT" }}" rel="archives"
+ href="{% url objectapp_gbobject_archive_month date|date:"Y" date|date:"m" %}">
+ {{ date|date:"YEAR_MONTH_FORMAT" }}
+ </a>
+ </li>
+ {% empty %}
+ <li>
+ {% trans "No archives yet." %}
+ </li>
+ {% endfor %}
+</ul>