aboutsummaryrefslogtreecommitdiff
path: root/templates/notification.tmpl
diff options
context:
space:
mode:
authorr <r@freesoftwareextremist.com>2020-02-23 13:26:39 +0000
committerr <r@freesoftwareextremist.com>2020-02-23 18:01:50 +0000
commite9f5e0cab55a8a92575139788ffb003ed5d4f576 (patch)
treef6b858d4dc5a7eb623bd139713eacd2faea17ef1 /templates/notification.tmpl
parentdd23ac48678c704949074dd0e41bb8a3550cc33f (diff)
downloadbloat-e9f5e0cab55a8a92575139788ffb003ed5d4f576.tar.gz
bloat-e9f5e0cab55a8a92575139788ffb003ed5d4f576.zip
Use <base> element to set target
Diffstat (limited to 'templates/notification.tmpl')
-rw-r--r--templates/notification.tmpl12
1 files changed, 6 insertions, 6 deletions
diff --git a/templates/notification.tmpl b/templates/notification.tmpl
index 9e1854c..02b3847 100644
--- a/templates/notification.tmpl
+++ b/templates/notification.tmpl
@@ -5,9 +5,9 @@
Notifications
{{if gt .UnreadCount 0}}({{.UnreadCount }}){{end}}
</div>
- <a class="notification-refresh" href="/notifications">refresh</a>
+ <a class="notification-refresh" href="/notifications" target="_self">refresh</a>
{{if .ReadID}}
- <form action="/notifications/read?max_id={{.ReadID}}" method="post">
+ <form action="/notifications/read?max_id={{.ReadID}}" method="post" target="_self">
<input type="hidden" name="csrf_token" value="{{$.Ctx.CSRFToken}}">
<input type="submit" value="read" class="btn-link">
</form>
@@ -19,7 +19,7 @@
{{if eq .Type "follow"}}
<div class="notification-follow-container">
<div class="status-profile-img-container">
- <a class="img-link" href="/user/{{.Account.ID}}" target="main" >
+ <a class="img-link" href="/user/{{.Account.ID}}">
<img class="status-profile-img" src="{{.Account.AvatarStatic}}" alt="profile-avatar" />
</a>
</div>
@@ -42,7 +42,7 @@
{{else if eq .Type "reblog"}}
<div class="retweet-info">
- <a class="img-link" href="/user/{{.Account.ID}}" target="main">
+ <a class="img-link" href="/user/{{.Account.ID}}">
<img class="status-profile-img" src="{{.Account.AvatarStatic}}" alt="avatar" />
</a>
<span class="status-dname"> {{EmojiFilter .Account.DisplayName .Account.Emojis}} </span>
@@ -55,7 +55,7 @@
{{else if eq .Type "favourite"}}
<div class="retweet-info">
- <a class="img-link" href="/user/{{.Account.ID}}" target="main">
+ <a class="img-link" href="/user/{{.Account.ID}}">
<img class="status-profile-img" src="{{.Account.AvatarStatic}}" alt="avatar" />
</a>
<span class="status-dname"> {{EmojiFilter .Account.DisplayName .Account.Emojis}} </span>
@@ -71,7 +71,7 @@
<div class="pagination">
{{if .NextLink}}
- <a href="{{.NextLink}}">next</a>
+ <a href="{{.NextLink}}" target="_self">next</a>
{{end}}
</div>