diff options
author | David Svantesson <davidsvantesson@gmail.com> | 2019-09-30 01:20:27 +0200 |
---|---|---|
committer | Lauris BH <lauris@nix.lv> | 2019-09-30 02:20:27 +0300 |
commit | 9c2a58456a698eae8a289de67685d4e3e270aaf9 (patch) | |
tree | d3d494f25fe5b636d14af9a3f07327fb265ae53c /templates/org | |
parent | cf170bf529268431e87c2d83a155ee9c6c3c727a (diff) | |
download | gitea-9c2a58456a698eae8a289de67685d4e3e270aaf9.tar.gz gitea-9c2a58456a698eae8a289de67685d4e3e270aaf9.zip |
Fix repo_admin_change_team_access always checked in org settings (#8319)
Signed-off-by: David Svantesson <davidsvantesson@gmail.com>
Diffstat (limited to 'templates/org')
-rw-r--r-- | templates/org/settings/options.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/org/settings/options.tmpl b/templates/org/settings/options.tmpl index 28660fe365..d58c77ad10 100644 --- a/templates/org/settings/options.tmpl +++ b/templates/org/settings/options.tmpl @@ -60,7 +60,7 @@ <label>{{.i18n.Tr "org.settings.permission"}}</label> <div class="field"> <div class="ui checkbox"> - <input class="hidden" type="checkbox" name="repo_admin_change_team_access" checked/> + <input class="hidden" type="checkbox" name="repo_admin_change_team_access" {{if .RepoAdminChangeTeamAccess}}checked{{end}}/> <label>{{.i18n.Tr "org.settings.repoadminchangeteam"}}</label> </div> </div> |