diff options
author | FuXiaoHei <fuxiaohei@hexiaz.com> | 2014-03-25 21:14:05 +0800 |
---|---|---|
committer | FuXiaoHei <fuxiaohei@hexiaz.com> | 2014-03-25 21:14:05 +0800 |
commit | e5d8fe41c4fd8331352c77d8a17d5c035f0787a2 (patch) | |
tree | 9d5dd1bc385f462c4c8fa15febef1683d06cbd2d /templates/repo | |
parent | 9aba29dd8f067338025593b7c409b494d4b0ce32 (diff) | |
download | gitea-e5d8fe41c4fd8331352c77d8a17d5c035f0787a2.tar.gz gitea-e5d8fe41c4fd8331352c77d8a17d5c035f0787a2.zip |
issue create page ui
Diffstat (limited to 'templates/repo')
-rw-r--r-- | templates/repo/toolbar.tmpl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/repo/toolbar.tmpl b/templates/repo/toolbar.tmpl index 1f8a70984c..17d4e5b1ad 100644 --- a/templates/repo/toolbar.tmpl +++ b/templates/repo/toolbar.tmpl @@ -9,6 +9,11 @@ <!-- <li class="{{if .IsRepoToolbarBranches}}active{{end}}"><a href="/{{.RepositoryLink}}/branches">Branches</a></li> --> <!-- <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"> + <button class="btn btn-primary btn-sm">New Issue</button> + </a></li> + {{end}} <!-- <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">More <b class="caret"></b></a> <ul class="dropdown-menu"> |