get_absolute_url in fragment_changesets.html

This commit is contained in:
Laura Klünder 2017-07-05 18:11:48 +02:00
parent 6b905a3150
commit 6615a16d2e

View file

@ -7,7 +7,7 @@
<i class="glyphicon glyphicon-{{ changeset.icon }} text-{{ changeset.style }}" title="{{ changeset.get_state_display }}" data-toggle="tooltip" data-placement="right"></i>
</td>
<td>{% if changeset.title %}{{ changeset.title }}{% else %}<em>#{{ changeset.id }} {% trans '(no title)' %}</em>{% endif %}</td>
<td><a href="{% url 'editor.changesets.detail' pk=changeset.pk %}">{% trans 'Details' %}</a></td>
<td><a href="{{ changeset.get_absolute_url }}">{% trans 'Details' %}</a></td>
</tr>
{% endfor %}
</table>