diff options
author | FuXiaoHei <fuxiaohei@hexiaz.com> | 2014-04-04 20:54:00 +0800 |
---|---|---|
committer | FuXiaoHei <fuxiaohei@hexiaz.com> | 2014-04-04 20:54:00 +0800 |
commit | 75db79b4b6bcb8f61dd957c9bd21b32d4746f866 (patch) | |
tree | 0649a122975afbb76e802633416c0ba7b1ccdaca /templates/repo | |
parent | e9c4156c874ceeecc81fdf7fe00ff2f582110ecd (diff) | |
download | gitea-75db79b4b6bcb8f61dd957c9bd21b32d4746f866.tar.gz gitea-75db79b4b6bcb8f61dd957c9bd21b32d4746f866.zip |
release list page ui
Diffstat (limited to 'templates/repo')
-rw-r--r-- | templates/repo/toolbar.tmpl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/repo/toolbar.tmpl b/templates/repo/toolbar.tmpl index 08167ef82b..5484204832 100644 --- a/templates/repo/toolbar.tmpl +++ b/templates/repo/toolbar.tmpl @@ -14,6 +14,9 @@ </a>{{else}}<a href="{{.RepoLink}}/issues"><button class="btn btn-primary btn-sm">Issues List</button></a>{{end}}</li> {{end}} <li class="{{if .IsRepoToolbarReleases}}active{{end}}"><a href="{{.RepoLink}}/releases">{{if .Repository.NumReleases}}<span class="badge">{{.Repository.NumReleases}}</span> {{end}}Releases</a></li> + {{if .IsRepoToolbarReleases}} + <li class="tmp"><a href="{{.RepoLink}}/releases/new"><button class="btn btn-primary btn-sm">New Release</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"> |