Fix double profile button in the admin
parent
4fcf585c23
commit
8d0b5d1114
|
@ -231,7 +231,7 @@
|
||||||
{% if not metadata.is_following and not with_details %}
|
{% if not metadata.is_following and not with_details %}
|
||||||
<li>{{ admin_profile_button(actor.ap_id) }}</li>
|
<li>{{ admin_profile_button(actor.ap_id) }}</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% elif actor.is_from_db and not with_details %}
|
{% elif actor.is_from_db and not with_details and not metadata.is_following %}
|
||||||
<li>{{ admin_profile_button(actor.ap_id) }}</li>
|
<li>{{ admin_profile_button(actor.ap_id) }}</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if actor.moved_to %}
|
{% if actor.moved_to %}
|
||||||
|
|
Loading…
Reference in New Issue