Add user follows to following feed
This commit is contained in:
@@ -101,6 +101,12 @@
|
||||
<div class="stat"><strong>{{ attended_count }}</strong>{{ _('besuchte Konzerte') }}</div>
|
||||
{% if not is_own_profile %}
|
||||
<div class="friend-actions">
|
||||
{% if can_view_details and not block_status.blocked_by_viewer and not block_status.blocked_viewer %}
|
||||
<form method="post" action="/users/{{ profile.username }}/follow">
|
||||
<input type="hidden" name="action" value="{% if is_following_user %}unfollow{% else %}follow{% endif %}">
|
||||
<button class="button {% if is_following_user %}button-secondary{% endif %}" type="submit">{% if is_following_user %}{{ _('Nutzer nicht mehr folgen') }}{% else %}{{ _('Nutzer folgen') }}{% endif %}</button>
|
||||
</form>
|
||||
{% endif %}
|
||||
{% if not block_status.blocked_by_viewer and not block_status.blocked_viewer %}
|
||||
{% if (user.is_admin or profile.is_admin) and (not friendship or friendship.status != 'accepted') %}
|
||||
<a class="button" href="/messages/{{ profile.username }}">{{ _('Nachricht senden') }}</a>
|
||||
|
||||
Reference in New Issue
Block a user