summaryrefslogtreecommitdiffstats
path: root/templates/user/dashboard/issues.tmpl
diff options
context:
space:
mode:
authorjaqra <48099350+jaqra@users.noreply.github.com>2019-09-18 10:24:44 +0300
committerLauris BH <lauris@nix.lv>2019-09-18 10:24:44 +0300
commit28362195a0ecbf1f68167d5d9dee13c691079afe (patch)
tree39a7c5fe4745642d2bc89685f7953c0e8f3f9a73 /templates/user/dashboard/issues.tmpl
parent04ca7f004710de2b408f558f6f148894aa61ba57 (diff)
downloadgitea-28362195a0ecbf1f68167d5d9dee13c691079afe.tar.gz
gitea-28362195a0ecbf1f68167d5d9dee13c691079afe.zip
Add 'Mentioning you' group to /issues page (#8201)
Diffstat (limited to 'templates/user/dashboard/issues.tmpl')
-rw-r--r--templates/user/dashboard/issues.tmpl4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/user/dashboard/issues.tmpl b/templates/user/dashboard/issues.tmpl
index 092eb9c7e8..b1d0ee4193 100644
--- a/templates/user/dashboard/issues.tmpl
+++ b/templates/user/dashboard/issues.tmpl
@@ -18,6 +18,10 @@
{{.i18n.Tr "repo.issues.filter_type.created_by_you"}}
<strong class="ui right">{{.IssueStats.CreateCount}}</strong>
</a>
+ <a class="{{if eq .ViewType "mentioned"}}ui basic blue button{{end}} item" href="{{.Link}}?type=mentioned&repo={{.RepoID}}&sort={{$.SortType}}&state={{.State}}">
+ {{.i18n.Tr "repo.issues.filter_type.mentioning_you"}}
+ <strong class="ui right">{{.IssueStats.MentionCount}}</strong>
+ </a>
{{end}}
<div class="ui divider"></div>
{{range .Repos}}