summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTAKAHASHI Shuuji2022-12-08 01:05:33 +0900
committerGitHub2022-12-07 09:05:33 -0700
commit7413dab0520b68bfb7d96805b44cc3e384113aec (patch)
treec24bf2ce335a9f6295b38f031dd3ee0b33a726d2
parent39a40e4dae8da8b6e7072fcbee2fc745c27c016d (diff)
downloadtakahe-7413dab0520b68bfb7d96805b44cc3e384113aec.tar.gz
takahe-7413dab0520b68bfb7d96805b44cc3e384113aec.tar.bz2
takahe-7413dab0520b68bfb7d96805b44cc3e384113aec.zip
Set link to user icon in identity panel (#145)
-rw-r--r--templates/activities/_identity.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/activities/_identity.html b/templates/activities/_identity.html
index b23ecf4..c48a645 100644
--- a/templates/activities/_identity.html
+++ b/templates/activities/_identity.html
@@ -1,7 +1,9 @@
{% load activity_tags %}
<div class="post user">
- <img src="{{ identity.local_icon_url }}" class="icon" alt="Avatar for {{ identity.name_or_handle }}">
+ <a href="{{ identity.urls.view }}">
+ <img src="{{ identity.local_icon_url }}" class="icon" alt="Avatar for {{ identity.name_or_handle }}">
+ </a>
{% if created %}
<time>