aboutsummaryrefslogtreecommitdiff
path: root/templates/notification.tmpl
diff options
context:
space:
mode:
authorr <r@freesoftwareextremist.com>2019-12-20 18:30:20 +0000
committerr <r@freesoftwareextremist.com>2019-12-20 18:30:20 +0000
commita1f49af1d93bccdd56d4538b149884418bd2ca2c (patch)
treeadd621fe17d9dbcf3625bcc7de1738ea8c89bc9f /templates/notification.tmpl
parent3d1e4cfa4c17eea9a64b8672df769c540fefdaeb (diff)
downloadbloat-a1f49af1d93bccdd56d4538b149884418bd2ca2c.tar.gz
bloat-a1f49af1d93bccdd56d4538b149884418bd2ca2c.zip
Add user page and follow/unfollow calls
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>