Add admin profile page
This commit is contained in:
@@ -59,6 +59,13 @@
|
||||
</form>
|
||||
{% endmacro %}
|
||||
|
||||
{% macro admin_profile_button(ap_actor_id) %}
|
||||
<form action="{{ url_for("admin_profile") }}" method="GET">
|
||||
<input type="hidden" name="actor_id" value="{{ ap_actor_id }}">
|
||||
<button type="submit">Profile</button>
|
||||
</form>
|
||||
{% endmacro %}
|
||||
|
||||
{% macro display_actor(actor, actors_metadata) %}
|
||||
{% set metadata = actors_metadata.get(actor.ap_id) %}
|
||||
<div style="display: flex;column-gap: 20px;margin:20px 0 10px 0;" class="actor-box">
|
||||
@@ -194,6 +201,9 @@
|
||||
<div class="bar-item">
|
||||
{{ admin_reply_button(object.ap_id) }}
|
||||
</div>
|
||||
<div class="bar-item">
|
||||
{{ admin_profile_button(object.actor.ap_id) }}
|
||||
</div>
|
||||
|
||||
{% endif %}
|
||||
|
||||
|
Reference in New Issue
Block a user