summaryrefslogtreecommitdiff
path: root/gstudio/templates/gstudio/author_list.html
blob: 2fd02950fe6af94c651665aac6943cb481c47efa (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 "gstudio/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 gstudio_author_detail object.username %}"
         title="{{ object.username }}" class="fn nickname url">
        {{ object.username }}
      </a>
      {% blocktrans count object.nodetypes_published.count as nodetype_count %}{{ nodetype_count }} nodetype{% plural %}{{ nodetype_count }} nodetypes{% endblocktrans %}
    </li>
    {% empty %}
    <li>
      {% trans "No authors yet." %}
    </li>
    {% endfor %}
  </ul>
</div>
{% endblock %}