summaryrefslogtreecommitdiffstats
path: root/templates/user/dashboard
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-08-25 23:22:05 +0800
committerUnknwon <u@gogs.io>2015-08-25 23:22:05 +0800
commita329bbc2159a35437d81b78f8176925904ddae08 (patch)
tree376d64ae757cf455cd65205475fd93bc11cc8d14 /templates/user/dashboard
parentf808df5a7b36d134ec92d62e9041a6320f416054 (diff)
downloadgitea-a329bbc2159a35437d81b78f8176925904ddae08.tar.gz
gitea-a329bbc2159a35437d81b78f8176925904ddae08.zip
new org dashboard issues
Diffstat (limited to 'templates/user/dashboard')
-rw-r--r--templates/user/dashboard/issues.tmpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/user/dashboard/issues.tmpl b/templates/user/dashboard/issues.tmpl
index b104d69d16..c22b35481f 100644
--- a/templates/user/dashboard/issues.tmpl
+++ b/templates/user/dashboard/issues.tmpl
@@ -9,6 +9,7 @@
{{.i18n.Tr "home.issues.in_your_repos"}}
<strong class="ui right">{{.IssueStats.AllCount}}</strong>
</a>
+ {{if not .ContextUser.IsOrganization}}
<a class="{{if eq .ViewType "assigned"}}active{{end}} item" href="{{.Link}}?type=assigned&repo={{.RepoID}}&state={{.State}}">
{{.i18n.Tr "repo.issues.filter_type.assigned_to_you"}}
<strong class="ui right">{{.IssueStats.AssignCount}}</strong>
@@ -17,6 +18,7 @@
{{.i18n.Tr "repo.issues.filter_type.created_by_you"}}
<strong class="ui right">{{.IssueStats.CreateCount}}</strong>
</a>
+ {{end}}
<div class="ui divider"></div>
{{range .Repos}}
<a class="{{if eq $.RepoID .ID}}active{{end}} item" href="{{$.Link}}?type={{$.ViewType}}{{if not (eq $.RepoID .ID)}}&repo={{.ID}}{{end}}&state={{$.State}}">{{$.SignedUser.Name}}/{{.Name}} <strong class="ui right">{{if $.IsShowClosed}}{{.NumClosedIssues}}{{else}}{{.NumOpenIssues}}{{end}}</strong></a>