summaryrefslogtreecommitdiff
path: root/objectapp/templates/objectapp/tag_list.html
blob: 21905a4618ae6a787502262d5aaeb7f48e303efb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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 %}