mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-24 03:43:42 -08:00
16 lines
No EOL
1.3 KiB
HTML
16 lines
No EOL
1.3 KiB
HTML
<div class="post_utilities_bar_wrapper">
|
|
<div class="post_utilities_bar">
|
|
<a class="post_replies_link" 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 class="voting_buttons_new" aria-live="assertive">
|
|
{% include "post/_post_voting_buttons.html" -%}
|
|
</div>
|
|
{% if post.type == POST_TYPE_IMAGE and low_bandwidth -%}
|
|
{% if post.image_id -%}
|
|
<a href="{{ post.image.view_url() }}" rel="nofollow ugc" class="preview_image" aria-label="{{ _('View image') }}" aria-hidden="true"><span class="fe fe-magnify"></span></a>
|
|
{% else -%}
|
|
<a href="{{ post.url }}" rel="nofollow ugc" class="preview_image" target="_blank" aria-label="{{ _('View image') }}" aria-hidden="true"><span class="fe fe-magnify"></span></a>
|
|
{% endif -%}
|
|
{% endif -%}
|
|
<a class="post_options_link" 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>
|
|
</div> |