Show who added the link in admin view

This commit is contained in:
Mouse Reeve 2022-01-10 13:33:22 -08:00
parent 34f375c53c
commit 651d468b13

View file

@ -61,6 +61,7 @@
<table class="is-striped">
<tr>
<th>{% trans "URL" %}</th>
<th>{% trans "Added by" %}</th>
<th>{% trans "Filetype" %}</th>
<th>{% trans "Book" %}</th>
</tr>
@ -69,6 +70,9 @@
<td>
<a href="{{ link.url }}" target="_blank" rel="noopener">{{ link.url }}</a>
</td>
<td>
<a href="{% url 'settings-user' link.added_by.id %}">@{{ link.added_by|username }}</a>
</td>
<td>
{% if link.filelink.filetype %}
{{ link.filelink.filetype }}