summaryrefslogtreecommitdiff
path: root/objectapp/templates/objectapp/tags/recent_linkbacks.html
blob: f73155604266a54c63581fbdef827eee6bec4026 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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>