feat: Allow marking notifications as read
This commit is contained in:
@@ -4,7 +4,12 @@
|
||||
<div class="notification-header">
|
||||
<b>{{ notification.title }}</b>
|
||||
{{ notification.created_at }}
|
||||
<a class="adoption-card-report-link" href=""><i class="fa-solid fa-check"></i></a>
|
||||
<form method="POST">
|
||||
{% csrf_token %}
|
||||
<input type="hidden" name="action" value="notification_mark_read">
|
||||
<input type="hidden" name="notification_id" value="{{ notification.pk }}">
|
||||
<button type="submit" id="submit"><i class="fa-solid fa-check"></i></button>
|
||||
</form>
|
||||
</div>
|
||||
<p>
|
||||
{{ notification.text | render_markdown }}
|
||||
|
Reference in New Issue
Block a user