summaryrefslogtreecommitdiff
path: root/objectapp/templates/objectapp/author_list.html
blob: fbb5dcbbe6233cf3ea25c00c47365ef81378d9d0 (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
25
26
27
{% extends "objectapp/base.html" %}
{% load i18n %}

{% block meta-description %}{% trans "Author list" %}{% endblock %}

{% block title %}{% trans "Authors" %}{% endblock %}

{% block content %}
<h2>{% trans "Author list" %}</h2>
<div>
  <ul>
    {% for object in object_list %}
    <li class="vcard">
      <a href="{% url objectapp_author_detail object.username %}"
         title="{{ object.username }}" class="fn nickname url">
        {{ object.username }}
      </a>
      {% blocktrans count object.gbobjects_published.count as gbobject_count %}{{ gbobject_count }} gbobject{% plural %}{{ gbobject_count }} gbobjects{% endblocktrans %}
    </li>
    {% empty %}
    <li>
      {% trans "No authors yet." %}
    </li>
    {% endfor %}
  </ul>
</div>
{% endblock %}