diff options
Diffstat (limited to 'objectapp/templates/objectapp/tag_list.html')
-rw-r--r-- | objectapp/templates/objectapp/tag_list.html | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/objectapp/templates/objectapp/tag_list.html b/objectapp/templates/objectapp/tag_list.html new file mode 100644 index 0000000..21905a4 --- /dev/null +++ b/objectapp/templates/objectapp/tag_list.html @@ -0,0 +1,24 @@ +{% extends "objectapp/base.html" %} +{% load i18n %} + +{% block meta-description %}{% trans "Tag list" %}{% endblock %} + +{% block title %}{% trans "Tags" %}{% endblock %} + +{% block content %} +<h2>{% trans "Tag list" %}</h2> +<div> + <ul> + {% for object in object_list %} + <li> + <a href="{% url objectapp_tag_detail object %}" title="{{ object }}">{{ object }}</a> + {% blocktrans count object.count as gbobject_count %}{{ gbobject_count }} gbobject{% plural %}{{ gbobject_count }} gbobjects{% endblocktrans %} + </li> + {% empty %} + <li> + {% trans "No tags yet." %} + </li> + {% endfor %} + </ul> +</div> +{% endblock %} |