summaryrefslogtreecommitdiffstats
path: root/templates/repo
diff options
context:
space:
mode:
authorUnknwon <joe2010xtmf@163.com>2014-08-09 17:25:02 -0700
committerUnknwon <joe2010xtmf@163.com>2014-08-09 17:25:02 -0700
commit78defd238c939ff577041f2e7b95b2ae48a9fb27 (patch)
tree5dd168d880ece655796558874f352b2c2263e965 /templates/repo
parent08c6d07aad65f45efd5bf9f50d9cda68f59c0e69 (diff)
downloadgitea-78defd238c939ff577041f2e7b95b2ae48a9fb27.tar.gz
gitea-78defd238c939ff577041f2e7b95b2ae48a9fb27.zip
Page: Manage social accounts
Diffstat (limited to 'templates/repo')
-rw-r--r--templates/repo/settings/options.tmpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/repo/settings/options.tmpl b/templates/repo/settings/options.tmpl
index e6ebb9aa22..4cc67c9d57 100644
--- a/templates/repo/settings/options.tmpl
+++ b/templates/repo/settings/options.tmpl
@@ -30,6 +30,7 @@
</div>
<hr>
<br>
+ {{if not .Repository.IsBare}}
<div class="field">
<label>{{.i18n.Tr "repo.default_branch"}}</label>
<select name="branch">
@@ -39,6 +40,7 @@
{{end}}
</select>
</div>
+ {{end}}
{{if .Repository.IsMirror}}
<div class="field">
<label for="interval">{{.i18n.Tr "repo.mirror_interval"}}</label>