diff options
author | FuXiaoHei <fuxiaohei@hexiaz.com> | 2014-03-26 21:47:20 +0800 |
---|---|---|
committer | FuXiaoHei <fuxiaohei@hexiaz.com> | 2014-03-26 21:47:20 +0800 |
commit | 08405a4fea1d2e5c73a73dafd866e0c00c7749c2 (patch) | |
tree | c7410071ee1e4767967e422daeba0e7a564d93b3 /templates/repo | |
parent | 0b22d90b7c936a7be4dd4c8e53b1af190aefe649 (diff) | |
download | gitea-08405a4fea1d2e5c73a73dafd866e0c00c7749c2.tar.gz gitea-08405a4fea1d2e5c73a73dafd866e0c00c7749c2.zip |
add issue view ui
Diffstat (limited to 'templates/repo')
-rw-r--r-- | templates/repo/toolbar.tmpl | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/templates/repo/toolbar.tmpl b/templates/repo/toolbar.tmpl index 17d4e5b1ad..e3390c77ca 100644 --- a/templates/repo/toolbar.tmpl +++ b/templates/repo/toolbar.tmpl @@ -10,9 +10,11 @@ <!-- <li class="{{if .IsRepoToolbarPulls}}active{{end}}"><a href="/{{.RepositoryLink}}/pulls">Pull Requests</a></li> --> <li class="{{if .IsRepoToolbarIssues}}active{{end}}"><a href="/{{.RepositoryLink}}/issues">Issues <!--<span class="badge">42</span>--></a></li> {{if .IsRepoToolbarIssues}} - <li class="tmp"><a href="/{{.RepositoryLink}}/issues/new"> + <li class="tmp">{{if .IsRepoToolbarIssuesList}}<a href="/{{.RepositoryLink}}/issues/new"> <button class="btn btn-primary btn-sm">New Issue</button> - </a></li> + </a>{{else}}<a href="/{{.RepositoryLink}}/issues"> + <button class="btn btn-primary btn-sm">Issues List</button> + </a>{{end}}</li> {{end}} <!-- <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">More <b class="caret"></b></a> |