diff options
Diffstat (limited to 'objectapp/templates/objectapp/tags/authors.html')
-rw-r--r-- | objectapp/templates/objectapp/tags/authors.html | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/objectapp/templates/objectapp/tags/authors.html b/objectapp/templates/objectapp/tags/authors.html new file mode 100644 index 00000000..c518ecee --- /dev/null +++ b/objectapp/templates/objectapp/tags/authors.html @@ -0,0 +1,15 @@ +{% load i18n %} + +<ul> + {% for author in authors %} + <li class="vcard"> + <a href="{% url objectapp_author_detail author.username %}" + title="{{ author.username }}" class="fn nickname url">{{ author.username }}</a> + {% blocktrans count author.gbobjects_published.count as gbobject_count %}{{ gbobject_count }} gbobject{% plural %}{{ gbobject_count }} gbobjects{% endblocktrans %} + </li> + {% empty %} + <li> + {% trans "No authors yet." %} + </li> + {% endfor %} +</ul> |