Skip to content

Commit 18c71ae

Browse files
committed
display role of user
1 parent 9847152 commit 18c71ae

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

temp/notifications/list.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,13 +143,14 @@
143143
<div class="row" style="padding-left:7px; padding-right:3px;">
144144
<div class="col-md-9 text-left"><h5>
145145
<i class="icon-mail{% if notice.unread %}-alt{% endif %}"></i>
146-
{{ notice.verb }}
146+
{{ notice.verb }}
147147
{% ifnotequal notice.actor notice.recipient %}
148-
-by <a href="{% url notice.data.sender_url notice.data.sender_url_name %}">{{ notice.actor }}</a>
148+
by <a href="{% url notice.data.sender_url notice.data.sender_url_name %}">{{ notice.actor }} ({{notice.data.sender_rolename}})</a>
149149
{% endifnotequal %}
150150
</h5>
151151
</div>
152-
<div class="col-md-3 text-right"><p>{{ notice.timesince }} ago</p></div>
152+
<div class="col-md-3 text-right"><p>{{ notice.timesince }} ago
153+
</p></div>
153154
</div>
154155

155156
<!-- <p>{{ notice.description|linebreaksbr }}</p> -->

0 commit comments

Comments
 (0)