Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
899 | dev | 1 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> |
913 | dev | 2 | <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> |
3 | <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> |
||
4 | <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> |
||
5 | <%@ taglib uri="/WEB-INF/ak-backpath.tld" prefix="backpath" %> |
||
6 | <%@ taglib uri="/WEB-INF/hostcaptain-core.tld" prefix="core" %> |
||
899 | dev | 7 | <html> |
8 | |||
9 | <head> |
||
10 | <meta http-equiv="expires" content="0"> |
||
905 | dev | 11 | <title><bean:message key="ak.hostcaptain.page.user.list.title" /></title> |
899 | dev | 12 | </head> |
13 | |||
14 | <body> |
||
15 | |||
905 | dev | 16 | <h1><bean:message key="ak.hostcaptain.page.user.list.title" /></h1> |
899 | dev | 17 | |
18 | <html:errors/> |
||
19 | |||
20 | <table> |
||
21 | <tr> |
||
905 | dev | 22 | <th><bean:message key="ak.hostcaptain.page.user.list.login" /></th> |
913 | dev | 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> |
||
899 | dev | 26 | <th> </th> |
27 | <th> </th> |
||
28 | </tr> |
||
29 | |||
30 | <logic:iterate name="users" id="u"> |
||
31 | <tr> |
||
32 | <td><bean:write name="u" property="login" /></td> |
||
913 | dev | 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> |
||
905 | dev | 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> |
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> |
||
899 | dev | 48 | </tr> |
49 | </logic:iterate> |
||
50 | </table> |
||
51 | |||
905 | dev | 52 | <backpath:link action="/user/edit"><bean:message key="ak.hostcaptain.page.user.list.add" /></backpath:link> |
899 | dev | 53 | <br> |
905 | dev | 54 | <backpath:backlink><bean:message key="ak.hostcaptain.page.user.list.back" /></backpath:backlink> |
899 | dev | 55 | |
56 | </body> |
||
57 | |||
58 | </html> |