Rev 915 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 915 | Rev 918 | ||
---|---|---|---|
Line 43... | Line 43... | ||
43 | </html:select> |
43 | </html:select> |
44 | </td> |
44 | </td> |
45 | </tr> |
45 | </tr> |
46 | <tr> |
46 | <tr> |
47 | <th><bean:message key="ak.hostcaptain.page.user.edit.superuser" /></th> |
47 | <th><bean:message key="ak.hostcaptain.page.user.edit.superuser" /></th> |
- | 48 | <td> |
|
- | 49 | <core:rights name="u" method="mayChangeSuperuser"> |
|
48 | <td><html:checkbox property="superuser" /> |
50 | <html:checkbox property="superuser" /> |
- | 51 | </core:rights> |
|
- | 52 | <core:noRights name="u" method="mayChangeSuperuser"> |
|
- | 53 | <logic:equal name="u" property="superuser" value="true"> |
|
- | 54 | <bean:message key="ak.hostcaptain.page.user.edit.superuser.true" /> |
|
- | 55 | </logic:equal> |
|
49 | FIXME: don't show this checkbox for editor itself</td> |
56 | <logic:notEqual name="u" property="superuser" value="true"> |
- | 57 | <bean:message key="ak.hostcaptain.page.user.edit.superuser.false" /> |
|
- | 58 | </logic:notEqual> |
|
- | 59 | </core:noRights> |
|
- | 60 | </td> |
|
50 | </tr> |
61 | </tr> |
51 | <tr> |
62 | <tr> |
52 | <th><bean:message key="ak.hostcaptain.page.user.edit.enabled" /></th> |
63 | <th><bean:message key="ak.hostcaptain.page.user.edit.enabled" /></th> |
53 | <td><html:checkbox property="enabled" /></td> |
64 | <td><html:checkbox property="enabled" /></td> |
54 | </tr> |
65 | </tr> |