mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-26 11:31:08 +00:00
Merge pull request #2400 from bookwyrm-social/local-rss
Only offer RSS feeds for local users
This commit is contained in:
commit
7e10b0cd1f
1 changed files with 2 additions and 0 deletions
|
@ -64,12 +64,14 @@
|
||||||
<div>
|
<div>
|
||||||
<div class="columns is-mobile">
|
<div class="columns is-mobile">
|
||||||
<h2 class="title column">{% trans "User Activity" %}</h2>
|
<h2 class="title column">{% trans "User Activity" %}</h2>
|
||||||
|
{% if user.local %}
|
||||||
<div class="column is-narrow">
|
<div class="column is-narrow">
|
||||||
<a target="_blank" href="{{ user.local_path }}/rss" rel="nofollow noopener noreferrer">
|
<a target="_blank" href="{{ user.local_path }}/rss" rel="nofollow noopener noreferrer">
|
||||||
<span class="icon icon-rss" aria-hidden="true"></span>
|
<span class="icon icon-rss" aria-hidden="true"></span>
|
||||||
<span class="is-hidden-mobile">{% trans "RSS feed" %}</span>
|
<span class="is-hidden-mobile">{% trans "RSS feed" %}</span>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
{% for activity in activities %}
|
{% for activity in activities %}
|
||||||
<div class="block" id="feed_{{ activity.id }}">
|
<div class="block" id="feed_{{ activity.id }}">
|
||||||
|
|
Loading…
Reference in a new issue