2024-09-06 15:43:22 +12:00
< div class = "post_utilities_bar" >
2024-12-09 14:05:09 +01:00
< div class = "post_replies_link" >
< a href = "{{ url_for('activitypub.post_ap', post_id=post.id, sort='new' if sort == 'active' else None, _anchor='post_replies') }}" aria-label = "{{ _('View comments') }}" > < span class = "fe fe-reply" > < / span > < span aria-label = "{{ _('Number of comments:') }}" > {{ post.reply_count }}< / span > < / a >
< / div >
2024-09-06 15:43:22 +12:00
< div class = "voting_buttons_new" aria-live = "assertive" >
{% include "post/_post_voting_buttons.html" -%}
< / div >
2024-09-06 22:50:20 +12:00
{% if post.type == POST_TYPE_IMAGE and low_bandwidth -%}
2024-12-09 14:05:09 +01:00
< div class = "preview_image" >
{% if post.image_id -%}
< a href = "{{ post.image.view_url() }}" rel = "nofollow ugc" aria-label = "{{ _('View image') }}" aria-hidden = "true" > < span class = "fe fe-magnify" > < / span > < / a >
{% else -%}
< a href = "{{ post.url }}" rel = "nofollow ugc" target = "_blank" aria-label = "{{ _('View image') }}" aria-hidden = "true" > < span class = "fe fe-magnify" > < / span > < / a >
{% endif -%}
< / div >
2024-09-06 15:43:22 +12:00
{% endif -%}
2024-10-05 18:58:07 +13:00
{% if current_user.is_authenticated and post.type == POST_TYPE_LINK and post.author.bot and (post.cross_posts is none or len(post.cross_posts) == 0) -%}
2024-12-09 14:05:09 +01:00
< div class = "post_cross_post_link" >
< a rel = "nofollow" aria-label = "{{ _('Cross-post') }}" href = "{{ url_for('post.post_cross_post', post_id=post.id) }}" > < span class = "fe fe-cross-post" > < / span > < / a >
< / div >
2024-10-05 18:58:07 +13:00
{% endif -%}
2024-12-09 14:05:09 +01:00
< div class = "notify_toggle" >
{% if current_user.is_authenticated and current_user.verified -%}
{% include 'post/_post_notification_toggle.html' -%}
{% endif -%}
< / div >
< div class = "post_options_link" >
< a href = "{{ url_for('post.post_options', post_id=post.id) }}" rel = "nofollow" aria-label = "{{ _('Options') }}" > < span class = "fe fe-options" title = "Options" > < / span > < / a >
< / div >
2024-09-06 15:43:22 +12:00
< / div >