From 376de7b23a1bc42b1a270255342a15ffb939ad96 Mon Sep 17 00:00:00 2001 From: Thomas Sileo Date: Sun, 25 Aug 2019 16:08:12 +0200 Subject: [PATCH] Display key values in profiles --- templates/stream.html | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/templates/stream.html b/templates/stream.html index 2e71f45..a9736b8 100644 --- a/templates/stream.html +++ b/templates/stream.html @@ -1,6 +1,6 @@ {% extends "layout.html" %} {% 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 %}
{% include "header.html" %} @@ -108,6 +108,16 @@ {{ actor.summary | clean | replace_custom_emojis(actor) | safe }}
{% endif %} + +{% if actor.attachment %} + +{% endif %} {% endif %}