mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-23 19:36:56 -08:00
user profile: add link to profile on original server
This commit is contained in:
parent
cef53df0da
commit
b2b8e5eeb4
1 changed files with 1 additions and 0 deletions
|
@ -87,6 +87,7 @@
|
||||||
{{ _('More') }}
|
{{ _('More') }}
|
||||||
</button>
|
</button>
|
||||||
<ul class="dropdown-menu">
|
<ul class="dropdown-menu">
|
||||||
|
<li><a class="dropdown-item" href="{{ user.ap_profile_id }}" title="{{ _('View user profile on original server') }}" rel="nofollow"><span class="fe fe-external"></span>{{ _('View original profile') }}</a></li>
|
||||||
{% if current_user.has_blocked_user(user.id) -%}
|
{% if current_user.has_blocked_user(user.id) -%}
|
||||||
<a class="dropdown-item" href="{{ url_for('user.unblock_profile', actor=user.link()) }}" rel="nofollow">{{ _('Unblock') }}</a>
|
<a class="dropdown-item" href="{{ url_for('user.unblock_profile', actor=user.link()) }}" rel="nofollow">{{ _('Unblock') }}</a>
|
||||||
{% else -%}
|
{% else -%}
|
||||||
|
|
Loading…
Add table
Reference in a new issue