1
0
Fork 0
mirror of https://codeberg.org/rimu/pyfedi synced 2025-02-13 13:58:04 -08:00
pyfedi/app/templates/post/_reply_notification_toggle.html
2024-04-29 21:43:37 +12:00

4 lines
No EOL
457 B
HTML

<a href="{{ url_for('post.post_reply_notification', post_reply_id=comment['comment'].id) }}" rel="nofollow"
class="notif_toggle fe {{ 'fe-bell' if comment['comment'].notify_new_replies(current_user.id) else 'fe-no-bell' }}"
hx-post="{{ url_for('post.post_reply_notification', post_reply_id=comment['comment'].id) }}" hx-trigger="click throttle:1s" hx-swap="outerHTML"
title="{{ _('Notify about replies') }}" aria-label="{{ _('Notify about replies') }}"></a>