-
Notifications
You must be signed in to change notification settings - Fork 983
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1461 from SharanKumar06/rspc_2025_1
Rspc 2025 1
- Loading branch information
Showing
6 changed files
with
75 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 == 'module_name' %} | ||
<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 %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters