summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/base.html2
-rw-r--r--templates/identity/view.html14
2 files changed, 14 insertions, 2 deletions
diff --git a/templates/base.html b/templates/base.html
index 79a5e87..4dc62ca 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -17,7 +17,7 @@
<menu>
<li>
{% if user.is_authenticated %}
- {{ user.email }}
+ Logout
{% else %}
<a href="/auth/login/">Login</a>
{% endif %}
diff --git a/templates/identity/view.html b/templates/identity/view.html
index f0a8a02..68bb7a3 100644
--- a/templates/identity/view.html
+++ b/templates/identity/view.html
@@ -3,7 +3,19 @@
{% block title %}{{ identity }}{% endblock %}
{% block content %}
- <h1>{{ identity }} <small>{{ identity.handle }}</small></h1>
+ <h1 class="identity">
+ {% if identity.icon_uri %}
+ <img src="{{identity.icon_uri}}" class="icon">
+ {% endif %}
+ {{ identity }} <small>{{ identity.handle }}</small>
+ </h1>
+
+ {% if not identity.local %}
+ <p class="system-note">
+ This user is a member of another server.
+ <a href="{{ identity.profile_uri }}">See their original profile</a>
+ </p>
+ {% endif %}
{% for status in statuses %}
{% include "statuses/_status.html" %}