File tree 2 files changed +2
-1
lines changed
2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ func Settings(ctx *context.Context) {
31
31
ctx .Data ["Title" ] = ctx .Tr ("org.settings" )
32
32
ctx .Data ["PageIsSettingsOptions" ] = true
33
33
ctx .Data ["CurrentVisibility" ] = ctx .Org .Organization .Visibility
34
+ ctx .Data ["RepoAdminChangeTeamAccess" ] = ctx .Org .Organization .RepoAdminChangeTeamAccess
34
35
ctx .HTML (200 , tplSettingsOptions )
35
36
}
36
37
Original file line number Diff line number Diff line change 60
60
<label>{{.i18n.Tr "org.settings.permission"}}</label>
61
61
<div class="field">
62
62
<div class="ui checkbox">
63
- <input class="hidden" type="checkbox" name="repo_admin_change_team_access" checked/>
63
+ <input class="hidden" type="checkbox" name="repo_admin_change_team_access" {{if .RepoAdminChangeTeamAccess}} checked{{end}} />
64
64
<label>{{.i18n.Tr "org.settings.repoadminchangeteam"}}</label>
65
65
</div>
66
66
</div>
You can’t perform that action at this time.
0 commit comments