pyfedi/app/templates/user/alerts/_comments.html
freamon baaf93087d Add 'Account->Activity Alerts' page to show content subscriptions
(not sure of best terminology for these - feel free to rename)
2024-10-02 09:18:27 +00:00

21 lines
814 B
HTML

{% include 'user/alerts/_filter.html' %}
<div class="post_list">
<h2>{{ _('You will be notified of replies to these comments') }}</h2>
{% for reply in entities.items %}
<div class="h-entry post_teaser tabindex="0">
<div class="row">
<div class="col">
<a href="{{ url_for('activitypub.post_ap', post_id=reply.post_id, _anchor='comment_' + str(reply.id)) }}" aria-label="{{ _('Read replies') }}">{{ reply.body }}</a>
</div>
<div class="col col-1">
{% with comment=dict(comment=reply) %}
{% include 'post/_reply_notification_toggle.html' %}
{% endwith %}
</div>
</div>
</div>
{% else %}
<p>{{ _('You have not subscribed to any comments. Use the bell icon on each comment to do so.') }}</p>
{% endfor %}
</div>