diff options
author | Unknwon <u@gogs.io> | 2015-08-31 13:36:31 +0800 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-08-31 13:36:31 +0800 |
commit | cb381078ffa9f9a6178110be304dfcac5715e323 (patch) | |
tree | 36752dfc8604d3d0bfa8f5edf6f0f3773f1163cd /templates/repo | |
parent | c6b039c6f96762709af109613b5262ea061e25b8 (diff) | |
download | gitea-cb381078ffa9f9a6178110be304dfcac5715e323.tar.gz gitea-cb381078ffa9f9a6178110be304dfcac5715e323.zip |
finish new repo options page
Diffstat (limited to 'templates/repo')
-rw-r--r-- | templates/repo/settings/options.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/repo/settings/options.tmpl b/templates/repo/settings/options.tmpl index 496a0b5f5e..f390d07bfb 100644 --- a/templates/repo/settings/options.tmpl +++ b/templates/repo/settings/options.tmpl @@ -14,7 +14,7 @@ {{.CsrfTokenHtml}} <input type="hidden" name="action" value="update"> <div class="required field {{if .Err_RepoName}}error{{end}}"> - <label for="repo_name">{{.i18n.Tr "repo.repo_name"}}</label> + <label for="repo_name">{{.i18n.Tr "repo.repo_name"}}<span class="text red hide" id="repo-name-change-prompt"> {{.i18n.Tr "repo.settings.change_reponame_prompt"}}</span></label> <input id="repo_name" name="repo_name" value="{{.Repository.Name}}" data-repo-name="{{.Repository.Name}}" autofocus required> </div> <div class="field {{if .Err_Description}}error{{end}}"> @@ -46,7 +46,7 @@ <div class="inline field"> <label>{{.i18n.Tr "repo.visibility"}}</label> <div class="ui checkbox"> - <input name="private" type="checkbox" {{if .private}}checked{{end}}> + <input name="private" type="checkbox" {{if .Repository.IsPrivate}}checked{{end}}> <label>{{.i18n.Tr "repo.visiblity_helper" | Safe}}</label> </div> </div> |