forked from forks/microblog.pub
Display key values in profiles
This commit is contained in:
parent
3bd2ab8102
commit
376de7b23a
1 changed files with 11 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
{% extends "layout.html" %}
|
{% extends "layout.html" %}
|
||||||
{% import 'utils.html' as utils %}
|
{% import 'utils.html' as utils %}
|
||||||
{% block title %}{% if request.path == url_for('admin.admin_stream') %}Stream{% else %}Notifications{% endif %} - {{ config.NAME }}{% endblock %}
|
{% block title %}{% if request.path == url_for('admin.admin_stream') %}Stream{% elif actor_id %}Profile {{ actor.name }}{% else %}Notifications{% endif %} - {{ config.NAME }}{% endblock %}
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="h-feed" id="container">
|
<div class="h-feed" id="container">
|
||||||
{% include "header.html" %}
|
{% include "header.html" %}
|
||||||
|
@ -108,6 +108,16 @@
|
||||||
{{ actor.summary | clean | replace_custom_emojis(actor) | safe }}
|
{{ actor.summary | clean | replace_custom_emojis(actor) | safe }}
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
{% if actor.attachment %}
|
||||||
|
<ul>
|
||||||
|
{% for item in actor.attachment %}
|
||||||
|
{% if item.type == "PropertyValue" %}
|
||||||
|
<li>{{ item.name }}: {{ item.value | clean | replace_custom_emojis(actor) | safe }}</li>
|
||||||
|
{% endif %}
|
||||||
|
{% endfor %}
|
||||||
|
</ul>
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in a new issue