diff options
author | Norwin <noerw@users.noreply.github.com> | 2021-03-16 01:00:52 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-16 02:00:52 +0100 |
commit | f4629fc472338e935b77f32b8d9dc5793937203a (patch) | |
tree | 72e776758b82efb3ddeb32d9670fd4937cd96b4d /templates/repo | |
parent | ad42adac9393419338cb0e2850056f0cd81ec438 (diff) | |
download | gitea-f4629fc472338e935b77f32b8d9dc5793937203a.tar.gz gitea-f4629fc472338e935b77f32b8d9dc5793937203a.zip |
Move repo.CloseIssuesViaCommitInAnyBranch to issue settings (#14965)
Diffstat (limited to 'templates/repo')
-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"> |