Skip to content

Commit

Permalink
Merge pull request #1547 from Harshul-25/latest_staging
Browse files Browse the repository at this point in the history
added notification side panel mess
  • Loading branch information
prabhatsuman authored Apr 23, 2024
2 parents 820afd7 + 67c2b7a commit 8408908
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions FusionIIIT/templates/notifications/messModule_sidepanel.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{% load static %}
{% block sidepanel %}
{% load notifications_tags %}
{% for notice in notifications %}
{% if notice.unread %}
{% if notice.data.module == 'Central Mess' %}
<div class="ui icon message">
<i class="inbox icon"></i>
<div class="content">
<div class="header">
<a href="{% url 'notifications:mark_as_read_and_redirect' notice.slug %}">
{{ notice.data.module }}
</a>
</div>
<p>{{ notice.verb }}</p>
</div>
<div class="ui right floated">
<a href="{% url 'notifications:delete' notice.slug %}">
<i class="close icon"></i>
</a>
   </div>
</div>
{% endif%}
{% endif %}
{% endfor %}
{% endblock %}

0 comments on commit 8408908

Please sign in to comment.