summaryrefslogtreecommitdiffstats
path: root/templates/base/head_navbar.tmpl
diff options
context:
space:
mode:
authorqwerty287 <80460567+qwerty287@users.noreply.github.com>2022-09-29 21:09:14 +0200
committerGitHub <noreply@github.com>2022-09-29 22:09:14 +0300
commit08609d439d81f65c4f691609acaa29c1c7e96757 (patch)
treee1502d6573ba91588d4aeafa57e0c9ed69c179a1 /templates/base/head_navbar.tmpl
parent3b6a7e5c8a994836d034adde4277b50ade020d1b (diff)
downloadgitea-08609d439d81f65c4f691609acaa29c1c7e96757.tar.gz
gitea-08609d439d81f65c4f691609acaa29c1c7e96757.zip
Add pages to view watched repos and subscribed issues/PRs (#17156)
Adds GitHub-like pages to view watched repos and subscribed issues/PRs This is my second try to fix this, but it is better than the first since it doesn't uses a filter option which could be slow when accessing `/issues` or `/pulls` and it shows both pulls and issues (the first try is #17053). Closes #16111 Replaces and closes #17053 ![Screenshot](https://user-images.githubusercontent.com/80460567/134782937-3112f7da-425a-45b6-9511-5c9695aee896.png) Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'templates/base/head_navbar.tmpl')
-rw-r--r--templates/base/head_navbar.tmpl4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/base/head_navbar.tmpl b/templates/base/head_navbar.tmpl
index 8cd3b0a4ae..12837ebefe 100644
--- a/templates/base/head_navbar.tmpl
+++ b/templates/base/head_navbar.tmpl
@@ -171,6 +171,10 @@
{{.locale.Tr "your_starred"}}
</a>
{{end}}
+ <a class="item" href="{{AppSubUrl}}/notifications/subscriptions">
+ {{svg "octicon-bell"}}
+ {{.locale.Tr "notification.subscriptions"}}<!-- Subscriptions -->
+ </a>
<a class="{{if .PageIsUserSettings}}active{{end}} item" href="{{AppSubUrl}}/user/settings">
{{svg "octicon-tools"}}
{{.locale.Tr "your_settings"}}<!-- Your settings -->