|
75 | 75 | <label>{{.i18n.Tr "org.team_unit_desc"}}</label>
|
76 | 76 | <table class="ui celled table">
|
77 | 77 | <thead>
|
78 |
| - <tr><th class="center aligned">{{.i18n.Tr "units.unit"}}</th> |
79 |
| - <th class="center aligned"><div data-content="{{.i18n.Tr "org.teams.none_access_helper"}}">{{.i18n.Tr "org.teams.none_access"}}</div></th> |
80 |
| - <th class="center aligned">{{.i18n.Tr "org.teams.read_access"}}</th> |
81 |
| - <th class="center aligned">{{.i18n.Tr "org.teams.write_access"}}</th></tr> |
| 78 | + <tr> |
| 79 | + <th class="center aligned">{{.i18n.Tr "units.unit"}}</th> |
| 80 | + <th class="center aligned">{{.i18n.Tr "org.teams.none_access"}} |
| 81 | + <i class="circle help icon link tooltip" data-content="{{.i18n.Tr "org.teams.none_access_helper"}}"></i></th> |
| 82 | + <th class="center aligned">{{.i18n.Tr "org.teams.read_access"}} |
| 83 | + <i class="circle help icon link tooltip" data-content="{{.i18n.Tr "org.teams.read_access_helper"}}"></i> |
| 84 | + </th> |
| 85 | + <th class="center aligned">{{.i18n.Tr "org.teams.write_access"}} |
| 86 | + <i class="circle help icon link tooltip" data-content="{{.i18n.Tr "org.teams.write_access_helper"}}"></i> |
| 87 | + </th> |
| 88 | + </tr> |
82 | 89 | </thead>
|
83 | 90 | <tbody>
|
84 | 91 | {{range $t, $unit := $.Units}}
|
|
97 | 104 | </td>
|
98 | 105 | <td class="center aligned">
|
99 | 106 | <div class="ui radio checkbox">
|
100 |
| - <input type="radio" class="hidden" name="unit_{{$unit.Type.Value}}" value="0"{{if or (eq $.Team.ID 0) (eq ($.Team.UnitAccessMode $unit.Type) 0)}} checked{{end}}> |
| 107 | + <input type="radio" class="hidden" name="unit_{{$unit.Type.Value}}" value="0"{{if (eq ($.Team.UnitAccessMode $unit.Type) 0)}} checked{{end}}> |
101 | 108 | </div>
|
102 | 109 | </td>
|
103 | 110 | <td class="center aligned">
|
|
107 | 114 | </td>
|
108 | 115 | <td class="center aligned">
|
109 | 116 | <div class="ui radio checkbox">
|
110 |
| - <input type="radio" class="hidden" name="unit_{{$unit.Type.Value}}" value="2"{{if or (eq $.Team.ID 0) (eq ($.Team.UnitAccessMode $unit.Type) 2)}} checked{{end}}> |
| 117 | + <input type="radio" class="hidden" name="unit_{{$unit.Type.Value}}" value="2"{{if (eq ($.Team.UnitAccessMode $unit.Type) 2)}} checked{{end}}> |
111 | 118 | </div>
|
112 | 119 | </td>
|
113 | 120 | </tr>
|
|
0 commit comments