1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-30 06:08:35 +00:00

Finish new web hook pages

This commit is contained in:
Unknwon
2014-08-09 15:40:10 -07:00
parent 9820b8e134
commit 9a1d5d2489
23 changed files with 249 additions and 265 deletions

View File

@@ -31,8 +31,8 @@
<hr>
<br>
<div class="field">
<label for="lang">{{.i18n.Tr "repo.default_branch"}}</label>
<select id="lang" name="gitignore">
<label>{{.i18n.Tr "repo.default_branch"}}</label>
<select name="branch">
{{if .Repository.DefaultBranch}}<option value="{{.Repository.DefaultBranch}}">{{.Repository.DefaultBranch}}</option>{{end}}
{{range .Branches}}
{{if not (eq . $.Repository.DefaultBranch)}}<option value="{{.}}">{{.}}</option>{{end}}