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