Improve admin actor profile

This commit is contained in:
Thomas Sileo 2022-07-31 10:03:45 +02:00
parent 4cbfb396c6
commit 7782a39638
4 changed files with 33 additions and 15 deletions

View file

@ -196,13 +196,6 @@
</a>
</div>
{% if with_details and actor.summary %}
<div class="p-note">
{{ actor.summary | clean_html(actor) | safe }}
</div>
{% endif %}
{% if is_admin and metadata %}
<div>
<nav class="flexbox actor-metadata">
@ -229,6 +222,27 @@
</div>
{% endif %}
{% if with_details %}
{% if actor.summary %}
<div class="p-note">
{{ actor.summary | clean_html(actor) | safe }}
</div>
{% endif %}
{% if actor.attachments %}
<div id="profile-props">
<dl>
{% for prop in actor.attachments %}
{% if prop.type == "PropertyValue" %}
<dt>{{ prop.name }}</dt>
<dd>{{ prop.value | clean_html(actor) | safe }}</dd>
{% endif %}
{% endfor %}
</dl>
</div>
{% endif %}
{% endif %}
{% if not embedded %}
</div>
{% endif %}