|
30 | 30 | <br> |
31 | 31 | <div class="field"> |
32 | 32 | <div class="ui radio checkbox"> |
33 | | - <input dir="auto" type="radio" name="repo_access" value="specific" {{if not .Team.IncludesAllRepositories}}checked{{end}}> |
| 33 | + <input type="radio" name="repo_access" value="specific" {{if not .Team.IncludesAllRepositories}}checked{{end}}> |
34 | 34 | <label>{{.locale.Tr "org.teams.specific_repositories"}}</label> |
35 | 35 | <span class="help">{{.locale.Tr "org.teams.specific_repositories_helper" | Str2html}}</span> |
36 | 36 | </div> |
37 | 37 | </div> |
38 | 38 | <div class="field"> |
39 | 39 | <div class="ui radio checkbox"> |
40 | | - <input dir="auto" type="radio" name="repo_access" value="all" {{if .Team.IncludesAllRepositories}}checked{{end}}> |
| 40 | + <input type="radio" name="repo_access" value="all" {{if .Team.IncludesAllRepositories}}checked{{end}}> |
41 | 41 | <label>{{.locale.Tr "org.teams.all_repositories"}}</label> |
42 | 42 | <span class="help">{{.locale.Tr "org.teams.all_repositories_helper" | Str2html}}</span> |
43 | 43 | </div> |
|
56 | 56 | <br> |
57 | 57 | <div class="field"> |
58 | 58 | <div class="ui radio checkbox"> |
59 | | - <input dir="auto" type="radio" name="permission" value="read" {{if or .PageIsOrgTeamsNew (eq .Team.AccessMode 1) (eq .Team.AccessMode 2)}}checked{{end}}> |
| 59 | + <input type="radio" name="permission" value="read" {{if or .PageIsOrgTeamsNew (eq .Team.AccessMode 1) (eq .Team.AccessMode 2)}}checked{{end}}> |
60 | 60 | <label>{{.locale.Tr "org.teams.general_access"}}</label> |
61 | 61 | <span class="help">{{.locale.Tr "org.teams.general_access_helper"}}</span> |
62 | 62 | </div> |
63 | 63 | </div> |
64 | 64 | <div class="field"> |
65 | 65 | <div class="ui radio checkbox"> |
66 | | - <input dir="auto" type="radio" name="permission" value="admin" {{if eq .Team.AccessMode 3}}checked{{end}}> |
| 66 | + <input type="radio" name="permission" value="admin" {{if eq .Team.AccessMode 3}}checked{{end}}> |
67 | 67 | <label>{{.locale.Tr "org.teams.admin_access"}}</label> |
68 | 68 | <span class="help">{{.locale.Tr "org.teams.admin_access_helper"}}</span> |
69 | 69 | </div> |
|
99 | 99 | </td> |
100 | 100 | <td class="center aligned"> |
101 | 101 | <div class="ui radio checkbox"> |
102 | | - <input dir="auto" type="radio" name="unit_{{$unit.Type.Value}}" value="0"{{if or ($unit.Type.UnitGlobalDisabled) (eq ($.Team.UnitAccessMode $.Context $unit.Type) 0)}} checked{{end}} title="{{$.locale.Tr "org.teams.none_access"}}"> |
| 102 | + <input type="radio" name="unit_{{$unit.Type.Value}}" value="0"{{if or ($unit.Type.UnitGlobalDisabled) (eq ($.Team.UnitAccessMode $.Context $unit.Type) 0)}} checked{{end}} title="{{$.locale.Tr "org.teams.none_access"}}"> |
103 | 103 | </div> |
104 | 104 | </td> |
105 | 105 | <td class="center aligned"> |
106 | 106 | <div class="ui radio checkbox"> |
107 | | - <input dir="auto" type="radio" name="unit_{{$unit.Type.Value}}" value="1"{{if or (eq $.Team.ID 0) (eq ($.Team.UnitAccessMode $.Context $unit.Type) 1)}} checked{{end}} {{if $unit.Type.UnitGlobalDisabled}}disabled{{end}} title="{{$.locale.Tr "org.teams.read_access"}}"> |
| 107 | + <input type="radio" name="unit_{{$unit.Type.Value}}" value="1"{{if or (eq $.Team.ID 0) (eq ($.Team.UnitAccessMode $.Context $unit.Type) 1)}} checked{{end}} {{if $unit.Type.UnitGlobalDisabled}}disabled{{end}} title="{{$.locale.Tr "org.teams.read_access"}}"> |
108 | 108 | </div> |
109 | 109 | </td> |
110 | 110 | <td class="center aligned"> |
111 | 111 | <div class="ui radio checkbox"> |
112 | | - <input dir="auto" type="radio" name="unit_{{$unit.Type.Value}}" value="2"{{if (ge ($.Team.UnitAccessMode $.Context $unit.Type) 2)}} checked{{end}} {{if $unit.Type.UnitGlobalDisabled}}disabled{{end}} title="{{$.locale.Tr "org.teams.write_access"}}"> |
| 112 | + <input type="radio" name="unit_{{$unit.Type.Value}}" value="2"{{if (ge ($.Team.UnitAccessMode $.Context $unit.Type) 2)}} checked{{end}} {{if $unit.Type.UnitGlobalDisabled}}disabled{{end}} title="{{$.locale.Tr "org.teams.write_access"}}"> |
113 | 113 | </div> |
114 | 114 | </td> |
115 | 115 | </tr> |
|
0 commit comments