Skip to content

Commit

Permalink
display role of user
Browse files Browse the repository at this point in the history
  • Loading branch information
firuza committed Aug 8, 2018
1 parent 9847152 commit 18c71ae
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions temp/notifications/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -143,13 +143,14 @@
<div class="row" style="padding-left:7px; padding-right:3px;">
<div class="col-md-9 text-left"><h5>
<i class="icon-mail{% if notice.unread %}-alt{% endif %}"></i>
{{ notice.verb }}
{{ notice.verb }}
{% ifnotequal notice.actor notice.recipient %}
-by <a href="{% url notice.data.sender_url notice.data.sender_url_name %}">{{ notice.actor }}</a>
by <a href="{% url notice.data.sender_url notice.data.sender_url_name %}">{{ notice.actor }} ({{notice.data.sender_rolename}})</a>
{% endifnotequal %}
</h5>
</div>
<div class="col-md-3 text-right"><p>{{ notice.timesince }} ago</p></div>
<div class="col-md-3 text-right"><p>{{ notice.timesince }} ago
</p></div>
</div>

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

0 comments on commit 18c71ae

Please sign in to comment.