summaryrefslogtreecommitdiff
path: root/gstudio/templates/gstudio/tags/recent_linkbacks.html
diff options
context:
space:
mode:
Diffstat (limited to 'gstudio/templates/gstudio/tags/recent_linkbacks.html')
-rw-r--r--gstudio/templates/gstudio/tags/recent_linkbacks.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/gstudio/templates/gstudio/tags/recent_linkbacks.html b/gstudio/templates/gstudio/tags/recent_linkbacks.html
new file mode 100644
index 0000000..382e53c
--- /dev/null
+++ b/gstudio/templates/gstudio/tags/recent_linkbacks.html
@@ -0,0 +1,21 @@
+{% load i18n %}
+
+<ul>
+ {% for linkback in linkbacks %}
+ <li>
+ {% with linkback.content_object as nodetype %}
+ <a href="{{ linkback.url }}">{{ linkback.user_name }}</a>
+ {% trans "in" %}
+ <a href="{{ nodetype.get_absolute_url }}#{{ linkback.flags.all.0.flag }}_{{ linkback.pk }}"
+ title="{% trans "Linkback on" %} {{ nodetype.title }}">
+ {{ nodetype.title }}
+ </a>
+ {% endwith %}
+ </li>
+ {% empty %}
+ <li>
+ {% trans "No linkbacks yet." %}
+ </li>
+ {% endfor %}
+</ul>
+