diff options
author | gnowgi <nagarjun@gnowledge.org> | 2012-03-15 16:19:20 +0530 |
---|---|---|
committer | gnowgi <nagarjun@gnowledge.org> | 2012-03-15 16:19:20 +0530 |
commit | 7a4f561e851fdc7246d804c3abb6748b8a4199a6 (patch) | |
tree | d2afc3463fd49625a9be482012f5c3bfcf7c42b9 /gstudio/templates/gstudio/tags/recent_linkbacks.html | |
download | gnowsys-7a4f561e851fdc7246d804c3abb6748b8a4199a6.tar.gz |
master trunk of gnowsys-studio
Diffstat (limited to 'gstudio/templates/gstudio/tags/recent_linkbacks.html')
-rw-r--r-- | gstudio/templates/gstudio/tags/recent_linkbacks.html | 21 |
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> + |