diff options
author | Unknwon <u@gogs.io> | 2016-08-17 22:44:07 -0700 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2016-08-17 22:44:07 -0700 |
commit | 7f7216be6e4a55af83a614fb2782d643af40825a (patch) | |
tree | 1429b942c9c918957dd189a947903f7a0c5bfc53 /templates | |
parent | ec332cf903354f8ab291ea33962d244a879c330d (diff) | |
download | gitea-7f7216be6e4a55af83a614fb2782d643af40825a.tar.gz gitea-7f7216be6e4a55af83a614fb2782d643af40825a.zip |
Code quality improvement on JS
Diffstat (limited to 'templates')
-rw-r--r-- | templates/repo/editor/edit.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/editor/edit.tmpl b/templates/repo/editor/edit.tmpl index 3f67437f16..f1115ace57 100644 --- a/templates/repo/editor/edit.tmpl +++ b/templates/repo/editor/edit.tmpl @@ -79,7 +79,7 @@ </label> </div> </div> - <div class="quick-pull-branch-name"> + <div class="quick-pull-branch-name {{if not (eq .commit_choice "commit-to-new-branch")}}hide{{end}}"> <div class="new-branch-name-input{{if .Err_Branchname}} error{{end}}"> <i class="octicon octicon-git-branch" height="16" width="10"></i> <input type="text" name="new_branch_name" value="{{.new_branch_name}}" class="form-control input-contrast mr-2 js-quick-pull-new-branch-name" placeholder="New branch nameā¦"> |