diff options
Diffstat (limited to 'objectapp/templates/objectapp/gbobject_archive_year.html')
-rw-r--r-- | objectapp/templates/objectapp/gbobject_archive_year.html | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/objectapp/templates/objectapp/gbobject_archive_year.html b/objectapp/templates/objectapp/gbobject_archive_year.html new file mode 100644 index 0000000..eeca042 --- /dev/null +++ b/objectapp/templates/objectapp/gbobject_archive_year.html @@ -0,0 +1,21 @@ +{% extends "objectapp/gbobject_list.html" %} +{% load i18n %} + +{% block meta-description %}{% trans "Archives" %} {{ year }}{% endblock %} + +{% block title %}{% trans "Archives" %} {{ year }}{% endblock %} + +{% block content %} +<h1>{% trans "Archives" %} {{ year }}</h1> + +{{ block.super }} + +<h2>{% trans "Monthly archives" %}</h2> +<ul> + {% for date in date_list %} + <li> + <a href="{% url objectapp_gbobject_archive_month year date|date:"m" %}" rel="archives">{{ date|date:"YEAR_MONTH_FORMAT" }}</a> + </li> + {% endfor %} +</ul> +{% endblock %} |