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