diff options
author | yp05327 | 2023-02-20 16:08:33 +0900 |
---|---|---|
committer | GitHub | 2023-02-20 15:08:33 +0800 |
commit | b811ab48e513a5b98edb935e0c63e76233ee1783 (patch) | |
tree | e2f8676fda6ba67f6598171a376a73c52cf35a2c /templates | |
parent | ef11d41639dd1e89676e395068ee453312560adb (diff) |
Add all units to the units permission list in org team members sidebar (#22971)
Add all units to the units permission list in org team members sidebar.
Before:
![BQF448EIHEYKY62XGG(5101](https://user-images.githubusercontent.com/18380374/219877772-b57df8fb-2b82-4b1a-85c8-3809f8751cab.png)
After:
![image](https://user-images.githubusercontent.com/18380374/219877762-f69482b8-abf9-4333-978e-6a3f52039a16.png)
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/org/team/sidebar.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/org/team/sidebar.tmpl b/templates/org/team/sidebar.tmpl index ab118a7e2..507173e51 100644 --- a/templates/org/team/sidebar.tmpl +++ b/templates/org/team/sidebar.tmpl @@ -58,7 +58,7 @@ </thead> <tbody> {{range $t, $unit := $.Units}} - {{if and (lt $unit.MaxPerm 2) (not $unit.Type.UnitGlobalDisabled)}} + {{if (not $unit.Type.UnitGlobalDisabled)}} <tr> <td><strong>{{$.locale.Tr $unit.NameKey}}</strong></td> <td>{{if eq ($.Team.UnitAccessMode $.Context $unit.Type) 0 -}} |