aboutsummaryrefslogtreecommitdiff
path: root/templates/notification.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/notification.tmpl')
-rw-r--r--templates/notification.tmpl12
1 files changed, 9 insertions, 3 deletions
diff --git a/templates/notification.tmpl b/templates/notification.tmpl
index 099f17e..da6164b 100644
--- a/templates/notification.tmpl
+++ b/templates/notification.tmpl
@@ -6,7 +6,9 @@
<div class="notification-container {{if .Pleroma}}{{if not .Pleroma.IsSeen}}unread{{end}}{{end}}">
{{if eq .Type "follow"}}
<div class="notification-follow-container">
- <img class="status-profile-img" src="{{.Account.AvatarStatic}}" alt="profile-avatar" />
+ <a href="/user/{{.Account.ID}}" >
+ <img class="status-profile-img" src="{{.Account.AvatarStatic}}" alt="profile-avatar" />
+ </a>
<div>
<div>
<span class="status-dname"> {{WithEmojis .Account.DisplayName .Account.Emojis}} </span>
@@ -24,7 +26,9 @@
{{else if eq .Type "reblog"}}
<div class="notification-retweet-container">
- <img class="status-profile-img" src="{{.Account.AvatarStatic}}" alt="profile-avatar" />
+ <a href="/user/{{.Account.ID}}" >
+ <img class="status-profile-img" src="{{.Account.AvatarStatic}}" alt="profile-avatar" />
+ </a>
<div>
<div>
<span class="status-dname"> {{WithEmojis .Account.DisplayName .Account.Emojis}} </span>
@@ -37,7 +41,9 @@
{{else if eq .Type "favourite"}}
<div class="notification-like-container">
- <img class="status-profile-img" src="{{.Account.AvatarStatic}}" alt="profile-avatar" />
+ <a href="/user/{{.Account.ID}}" >
+ <img class="status-profile-img" src="{{.Account.AvatarStatic}}" alt="profile-avatar" />
+ </a>
<div>
<div>
<span class="status-dname"> {{WithEmojis .Account.DisplayName .Account.Emojis}} </span>