Rev 905 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 905 | Rev 913 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> |
1 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> |
2 | <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> |
2 | <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> |
3 | <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> |
3 | <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> |
4 | <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> |
4 | <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> |
5 | <%@ taglib uri="/WEB-INF/ak-backpath.tld" prefix="backpath" %> |
5 | <%@ taglib uri="/WEB-INF/ak-backpath.tld" prefix="backpath" %> |
- | 6 | <%@ taglib uri="/WEB-INF/hostcaptain-core.tld" prefix="core" %> |
|
6 | <html> |
7 | <html> |
7 | 8 | ||
8 | <head> |
9 | <head> |
9 | <meta http-equiv="expires" content="0"> |
10 | <meta http-equiv="expires" content="0"> |
10 | <title><bean:message key="ak.hostcaptain.page.user.list.title" /></title> |
11 | <title><bean:message key="ak.hostcaptain.page.user.list.title" /></title> |
Line 17... | Line 18... | ||
17 | <html:errors/> |
18 | <html:errors/> |
18 | 19 | ||
19 | <table> |
20 | <table> |
20 | <tr> |
21 | <tr> |
21 | <th><bean:message key="ak.hostcaptain.page.user.list.login" /></th> |
22 | <th><bean:message key="ak.hostcaptain.page.user.list.login" /></th> |
- | 23 | <th><bean:message key="ak.hostcaptain.page.user.list.boss" /></th> |
|
- | 24 | <th><bean:message key="ak.hostcaptain.page.user.list.superuser" /></th> |
|
- | 25 | <th><bean:message key="ak.hostcaptain.page.user.list.enabled" /></th> |
|
22 | <th> </th> |
26 | <th> </th> |
23 | <th> </th> |
27 | <th> </th> |
24 | </tr> |
28 | </tr> |
25 | 29 | ||
26 | <logic:iterate name="users" id="u"> |
30 | <logic:iterate name="users" id="u"> |
27 | <tr> |
31 | <tr> |
28 | <td><bean:write name="u" property="login" /></td> |
32 | <td><bean:write name="u" property="login" /></td> |
- | 33 | <td> |
|
- | 34 | <logic:present name="u" property="boss"> |
|
- | 35 | <bean:write name="u" property="boss.login" /> |
|
- | 36 | </logic:present> |
|
- | 37 | </td> |
|
- | 38 | <td> |
|
- | 39 | <logic:equal name="u" property="superuser" value="true">x</logic:equal> |
|
- | 40 | <logic:notEqual name="u" property="superuser" value="true"> </logic:notEqual> |
|
- | 41 | </td> |
|
- | 42 | <td> |
|
- | 43 | <logic:equal name="u" property="enabled" value="true">x</logic:equal> |
|
- | 44 | <logic:notEqual name="u" property="enabled" value="true"> </logic:notEqual> |
|
- | 45 | </td> |
|
29 | <td><backpath:link action="/user/edit" paramId="id" paramName="u" paramProperty="id"><bean:message key="ak.hostcaptain.page.user.list.edit" /></backpath:link></td> |
46 | <td><backpath:link action="/user/edit" paramId="id" paramName="u" paramProperty="id"><bean:message key="ak.hostcaptain.page.user.list.edit" /></backpath:link></td> |
30 | <td><backpath:link action="/user/delete" paramId="id" paramName="u" paramProperty="id"><bean:message key="ak.hostcaptain.page.user.list.delete" /></backpath:link></td> |
47 | <td><backpath:link action="/user/delete" paramId="id" paramName="u" paramProperty="id"><bean:message key="ak.hostcaptain.page.user.list.delete" /></backpath:link></td> |
31 | </tr> |
48 | </tr> |
32 | </logic:iterate> |
49 | </logic:iterate> |
33 | </table> |
50 | </table> |