summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorAndrey Nering <andrey.nering@gmail.com>2017-01-03 17:09:36 -0200
committerAndrey Nering <andrey.nering@gmail.com>2017-01-03 17:09:36 -0200
commitb354cf362ec432533da4384d4ee0c32283b7089f (patch)
tree5cc33eb5c21edd3724a88af3f3068ebd48507678 /templates
parent545ba2e2e62123fc4c9b7f780ccff3ee1b4888ff (diff)
downloadgitea-b354cf362ec432533da4384d4ee0c32283b7089f.tar.gz
gitea-b354cf362ec432533da4384d4ee0c32283b7089f.zip
Add pagination for notifications
Diffstat (limited to 'templates')
-rw-r--r--templates/user/notification/notification.tmpl6
1 files changed, 4 insertions, 2 deletions
diff --git a/templates/user/notification/notification.tmpl b/templates/user/notification/notification.tmpl
index 154f8b1790..ddfcd4f717 100644
--- a/templates/user/notification/notification.tmpl
+++ b/templates/user/notification/notification.tmpl
@@ -5,7 +5,7 @@
<h1 class="ui header">{{.i18n.Tr "notification.notifications"}}</h1>
<div class="ui top attached tabular menu">
- <a href="/notifications?status=unread">
+ <a href="/notifications?q=unread">
<div class="{{if eq .Status 1}}active{{end}} item">
{{.i18n.Tr "notification.unread"}}
{{if eq .Status 1}}
@@ -13,7 +13,7 @@
{{end}}
</div>
</a>
- <a href="/notifications?status=read">
+ <a href="/notifications?q=read">
<div class="{{if eq .Status 2}}active{{end}} item">
{{.i18n.Tr "notification.read"}}
{{if eq .Status 2}}
@@ -62,6 +62,8 @@
</div>
{{end}}
</div>
+
+ {{template "base/paginate" .}}
</div>
</div>