show user icon on changes that have a different author than the changeset

This commit is contained in:
Laura Klünder 2017-06-18 23:25:49 +02:00
parent 9c8028c770
commit 86511ceb93

View file

@ -37,7 +37,12 @@
{% if change.value %}<u>{% else %}<em>{% endif %}{{ change.title }}{% if change.value %}</u>:{% else %}</em>{% endif %}
{{ change.value }}
</td>
<td class="text-muted"><i class="glyphicon glyphicon-time" data-toggle="tooltip" data-placement="left" title="{{ change.created }}"></i></td>
<td class="text-muted">
{% if change.author and change.author != changeset.author %}
<i class="glyphicon glyphicon-user" data-toggle="tooltip" data-placement="left" title="{{ change.author.username }}"></i>
{% endif %}
<i class="glyphicon glyphicon-time" data-toggle="tooltip" data-placement="left" title="{{ change.created }}"></i>
</td>
</tr>
{% endfor %}
</tbody>