show user icon on changes that have a different author than the changeset
This commit is contained in:
parent
9c8028c770
commit
86511ceb93
1 changed files with 6 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue