diff options
Diffstat (limited to 'templates/repo/settings/options.tmpl')
-rw-r--r-- | templates/repo/settings/options.tmpl | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/templates/repo/settings/options.tmpl b/templates/repo/settings/options.tmpl index 9d87101671..f944eb8d8d 100644 --- a/templates/repo/settings/options.tmpl +++ b/templates/repo/settings/options.tmpl @@ -221,12 +221,16 @@ </div> </div> {{end}} - <div class="field"> - <div class="ui checkbox"> - <input name="enable_issue_dependencies" type="checkbox" {{if (.Repository.IsDependenciesEnabled)}}checked{{end}}> - <label>{{.i18n.Tr "repo.issues.dependency.setting"}}</label> - </div> + <div class="field"> + <div class="ui checkbox"> + <input name="enable_issue_dependencies" type="checkbox" {{if (.Repository.IsDependenciesEnabled)}}checked{{end}}> + <label>{{.i18n.Tr "repo.issues.dependency.setting"}}</label> </div> + </div> + <div class="ui checkbox"> + <input name="enable_close_issues_via_commit_in_any_branch" type="checkbox" {{ if .Repository.CloseIssuesViaCommitInAnyBranch }}checked{{end}}> + <label>{{.i18n.Tr "repo.settings.admin_enable_close_issues_via_commit_in_any_branch"}}</label> + </div> </div> <div class="field"> {{if .UnitTypeExternalTracker.UnitGlobalDisabled}} @@ -412,10 +416,6 @@ <label>{{.i18n.Tr "repo.settings.admin_enable_health_check"}}</label> </div> </div> - <div class="ui checkbox"> - <input name="enable_close_issues_via_commit_in_any_branch" type="checkbox" {{ if .Repository.CloseIssuesViaCommitInAnyBranch }}checked{{end}}> - <label>{{.i18n.Tr "repo.settings.admin_enable_close_issues_via_commit_in_any_branch"}}</label> - </div> <div class="ui divider"></div> <div class="field"> |