Skip to content

Commit 8408908

Browse files
authored
Merge pull request #1547 from Harshul-25/latest_staging
added notification side panel mess
2 parents 820afd7 + 67c2b7a commit 8408908

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{% load static %}
2+
{% block sidepanel %}
3+
{% load notifications_tags %}
4+
{% for notice in notifications %}
5+
{% if notice.unread %}
6+
{% if notice.data.module == 'Central Mess' %}
7+
<div class="ui icon message">
8+
<i class="inbox icon"></i>
9+
<div class="content">
10+
<div class="header">
11+
<a href="{% url 'notifications:mark_as_read_and_redirect' notice.slug %}">
12+
{{ notice.data.module }}
13+
</a>
14+
</div>
15+
<p>{{ notice.verb }}</p>
16+
</div>
17+
<div class="ui right floated">
18+
<a href="{% url 'notifications:delete' notice.slug %}">
19+
<i class="close icon"></i>
20+
</a>
21+
   </div>
22+
</div>
23+
{% endif%}
24+
{% endif %}
25+
{% endfor %}
26+
{% endblock %}

0 commit comments

Comments
 (0)