mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-23 19:36:56 -08:00
make 'view original' link visible to unauthenticated users
This commit is contained in:
parent
a1036b60ff
commit
e3d8d1e5e2
1 changed files with 4 additions and 4 deletions
|
@ -30,12 +30,12 @@
|
||||||
<li><a href="{{ url_for('post.post_block_instance', post_id=post.id) }}" class="no-underline"><span class="fe fe-block"></span>
|
<li><a href="{{ url_for('post.post_block_instance', post_id=post.id) }}" class="no-underline"><span class="fe fe-block"></span>
|
||||||
{{ _("Hide every post from author's instance: %(name)s", name=post.instance.domain) }}</a></li>
|
{{ _("Hide every post from author's instance: %(name)s", name=post.instance.domain) }}</a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if post.ap_id %}
|
|
||||||
<li><a href="{{ post.ap_id }}" rel="nofollow" class="no-underline"><span class="fe fe-external"></span>
|
|
||||||
{{ _('View original on %(domain)s', domain=post.instance.domain) }}</a></li>
|
|
||||||
{% endif %}
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if post.ap_id %}
|
||||||
|
<li><a href="{{ post.ap_id }}" rel="nofollow" class="no-underline"><span class="fe fe-external"></span>
|
||||||
|
{{ _('View original on %(domain)s', domain=post.instance.domain) }}</a></li>
|
||||||
|
{% endif %}
|
||||||
<li><a href="{{ url_for('post.post_report', post_id=post.id) }}" class="no-underline" rel="nofollow"><span class="fe fe-report"></span>
|
<li><a href="{{ url_for('post.post_report', post_id=post.id) }}" class="no-underline" rel="nofollow"><span class="fe fe-report"></span>
|
||||||
{{ _('Report to moderators') }}</a></li>
|
{{ _('Report to moderators') }}</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
Loading…
Add table
Reference in a new issue