summaryrefslogtreecommitdiff
path: root/gstudio/templates/gstudio/tags/popular_nodetypes.html
diff options
context:
space:
mode:
Diffstat (limited to 'gstudio/templates/gstudio/tags/popular_nodetypes.html')
-rw-r--r--gstudio/templates/gstudio/tags/popular_nodetypes.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/gstudio/templates/gstudio/tags/popular_nodetypes.html b/gstudio/templates/gstudio/tags/popular_nodetypes.html
new file mode 100644
index 0000000..2b3112b
--- /dev/null
+++ b/gstudio/templates/gstudio/tags/popular_nodetypes.html
@@ -0,0 +1,16 @@
+{% load i18n %}
+<ul>
+ {% for nodetype in nodetypes %}
+ <li>
+ <a href="{{ nodetype.get_absolute_url }}" title="{{ nodetype.title }}" rel="bookmark">{{ nodetype.title }}</a>
+ <br />
+ {% with nodetype.comments.count as comment_count %}
+ <a href="{{ nodetype.get_absolute_url }}#comments" title="{{ nodetype.title }}">{{ comment_count }} {% trans "comment" %}{{ comment_count|pluralize }}</a>
+ {% endwith %}
+ </li>
+ {% empty %}
+ <li>
+ {% trans "No nodetypes yet." %}
+ </li>
+ {% endfor %}
+</ul>