diff options
Diffstat (limited to 'objectapp/templates/objectapp/author_list.html')
-rw-r--r-- | objectapp/templates/objectapp/author_list.html | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/objectapp/templates/objectapp/author_list.html b/objectapp/templates/objectapp/author_list.html new file mode 100644 index 0000000..fbb5dcb --- /dev/null +++ b/objectapp/templates/objectapp/author_list.html @@ -0,0 +1,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 %} |