diff options
author | Gusted <williamzijl7@hotmail.com> | 2022-02-01 21:24:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-01 20:24:27 +0000 |
commit | f7606de13a1a85dc9383fe091c9dfa502708fc47 (patch) | |
tree | 11642eb7797880a8565d8ec4c66bb436dd6b435d | |
parent | 483bda4b2d954692b197f93e813402f2a95a9360 (diff) | |
download | gitea-f7606de13a1a85dc9383fe091c9dfa502708fc47.tar.gz gitea-f7606de13a1a85dc9383fe091c9dfa502708fc47.zip |
Use "read" value for General Access (#18496) (#18500)
- Backport of #18496
-rw-r--r-- | templates/org/team/new.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/org/team/new.tmpl b/templates/org/team/new.tmpl index 9877e9a941..2531868ec8 100644 --- a/templates/org/team/new.tmpl +++ b/templates/org/team/new.tmpl @@ -56,7 +56,7 @@ <br> <div class="field"> <div class="ui radio checkbox"> - <input type="radio" name="permission" value="{{if .PageIsOrgTeamsNew}}read{{else}}{{.Team.AccessMode}}{{end}}" {{if or .PageIsOrgTeamsNew (eq .Team.AccessMode 1) (eq .Team.AccessMode 2)}}checked{{end}}> + <input type="radio" name="permission" value="read" {{if or .PageIsOrgTeamsNew (eq .Team.AccessMode 1) (eq .Team.AccessMode 2)}}checked{{end}}> <label>{{.i18n.Tr "org.teams.general_access"}}</label> <span class="help">{{.i18n.Tr "org.teams.general_access_helper"}}</span> </div> |