Fix admin buttons in templates
parent
fe9e4eebf4
commit
7469188aaf
|
@ -458,6 +458,7 @@
|
||||||
{{ admin_reply_button(object.ap_id) }}
|
{{ admin_reply_button(object.ap_id) }}
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
{% if object.is_from_inbox %}
|
||||||
<li>
|
<li>
|
||||||
{% if object.liked_via_outbox_object_ap_id %}
|
{% if object.liked_via_outbox_object_ap_id %}
|
||||||
{{ admin_undo_button(object.liked_via_outbox_object_ap_id, "unlike", object.permalink_id) }}
|
{{ admin_undo_button(object.liked_via_outbox_object_ap_id, "unlike", object.permalink_id) }}
|
||||||
|
@ -485,6 +486,7 @@
|
||||||
<li>
|
<li>
|
||||||
{{ admin_profile_button(object.actor.ap_id) }}
|
{{ admin_profile_button(object.actor.ap_id) }}
|
||||||
</li>
|
</li>
|
||||||
|
{% endif %}
|
||||||
<li>
|
<li>
|
||||||
{{ admin_expand_button(object.ap_id) }}
|
{{ admin_expand_button(object.ap_id) }}
|
||||||
</li>
|
</li>
|
||||||
|
|
Loading…
Reference in New Issue