only show 'retrieve post from original server' on community page, not posts

This commit is contained in:
rimu 2024-11-02 16:10:35 +13:00
parent 21ae50f6ff
commit bd3361ebc6

View file

@ -45,7 +45,7 @@
<p class="red small">{{ _('Moderators have not been active recently.') }}</p> <p class="red small">{{ _('Moderators have not been active recently.') }}</p>
{% endif -%} {% endif -%}
{% endif -%} {% endif -%}
{% if not community.is_local() -%} {% if rss_feed and not community.is_local() -%}
<ul> <ul>
<li><p><a href="{{ community.public_url() }}">{{ _('View community on original server') }}</a></p></li> <li><p><a href="{{ community.public_url() }}">{{ _('View community on original server') }}</a></p></li>
<li><p><a href="{{ url_for('community.retrieve_remote_post', community_id=community.id) }}">{{ _('Retrieve a post from the original server') }}</a></p></li> <li><p><a href="{{ url_for('community.retrieve_remote_post', community_id=community.id) }}">{{ _('Retrieve a post from the original server') }}</a></p></li>