summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorAndrew Godwin2022-11-17 19:31:00 -0700
committerAndrew Godwin2022-11-17 17:55:50 -0700
commit2a3690d1c148da5dd799052403ba7290e1fb7de0 (patch)
tree6a1c92cdbea7ee2e307a99dd114610c83b33f82a /templates
parent291d7e404e12e1d017403242f8ed199046f0904c (diff)
downloadtakahe-2a3690d1c148da5dd799052403ba7290e1fb7de0.tar.gz
takahe-2a3690d1c148da5dd799052403ba7290e1fb7de0.tar.bz2
takahe-2a3690d1c148da5dd799052403ba7290e1fb7de0.zip
Return images and summary in actor
Diffstat (limited to 'templates')
-rw-r--r--templates/activities/_post.html4
-rw-r--r--templates/identity/view.html6
2 files changed, 9 insertions, 1 deletions
diff --git a/templates/activities/_post.html b/templates/activities/_post.html
index 5de8bc7..3d455ea 100644
--- a/templates/activities/_post.html
+++ b/templates/activities/_post.html
@@ -2,7 +2,9 @@
{% load activity_tags %}
<div class="post" data-takahe-id="{{ post.id }}">
- <img src="{{ post.author.local_icon_url }}" class="icon">
+ <a href="{{ post.author.urls.view }}">
+ <img src="{{ post.author.local_icon_url }}" class="icon">
+ </a>
<time>
{% if post.visibility == 0 %}
diff --git a/templates/identity/view.html b/templates/identity/view.html
index 223c2bb..f877f59 100644
--- a/templates/identity/view.html
+++ b/templates/identity/view.html
@@ -28,6 +28,12 @@
{{ identity.name_or_handle }} <small>@{{ identity.handle }}</small>
</h1>
+ {% if identity.summary %}
+ <div class="summary">
+ {{ identity.safe_summary }}
+ </div>
+ {% endif %}
+
{% if not identity.local %}
{% if identity.outdated and not identity.name %}
<p class="system-note">