Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
920 | dev | 1 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> |
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" %> |
||
7 | <html> |
||
8 | |||
9 | <head> |
||
10 | <meta http-equiv="expires" content="0"> |
||
11 | <title><bean:message key="ak.hostcaptain.page.user.system.list.title" /></title> |
||
12 | </head> |
||
13 | |||
14 | <body> |
||
15 | |||
16 | <h1><bean:message key="ak.hostcaptain.page.user.system.list.title" /></h1> |
||
17 | |||
18 | <html:errors/> |
||
19 | |||
20 | <table border=1> |
||
21 | <tr> |
||
22 | <th><bean:message key="ak.hostcaptain.page.user.system.list.uid" /></th> |
||
23 | <th><bean:message key="ak.hostcaptain.page.user.system.list.name" /></th> |
||
24 | <th><bean:message key="ak.hostcaptain.page.user.system.list.owner" /></th> |
||
25 | <th><bean:message key="ak.hostcaptain.page.user.system.list.enabled" /></th> |
||
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="uid" /></td> |
||
33 | <td><bean:write name="u" property="name" /></td> |
||
34 | <td> |
||
35 | <logic:present name="u" property="owner"> |
||
36 | <bean:write name="u" property="owner.login" /> |
||
37 | </logic:present> |
||
38 | <logic:notPresent name="u" property="owner"> |
||
39 | |
||
40 | </logic:notPresent> |
||
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> |
||
46 | <td> |
||
47 | <core:editable name="u"> |
||
48 | <backpath:link action="/user/system/edit" paramId="id" paramName="u" paramProperty="id"><bean:message key="ak.hostcaptain.page.user.system.list.edit" /></backpath:link> |
||
49 | </core:editable> |
||
50 | <core:notEditable name="u"> |
||
51 | <core:viewable name="u"> |
||
52 | <backpath:link action="/user/system/edit" paramId="id" paramName="u" paramProperty="id"><bean:message key="ak.hostcaptain.page.user.system.list.view" /></backpath:link> |
||
53 | </core:viewable> |
||
54 | <core:notViewable name="u"> |
||
55 | |
||
56 | </core:notViewable> |
||
57 | </core:notEditable> |
||
58 | </td> |
||
59 | <td> |
||
60 | <core:deleteable name="u"> |
||
61 | <backpath:link action="/user/system/delete" paramId="id" paramName="u" paramProperty="id"><bean:message key="ak.hostcaptain.page.user.system.list.delete" /></backpath:link> |
||
62 | </core:deleteable> |
||
63 | <core:notDeleteable name="u"> |
||
64 | |
||
65 | </core:notDeleteable> |
||
66 | </td> |
||
67 | </tr> |
||
68 | </logic:iterate> |
||
69 | </table> |
||
70 | |||
71 | <logic:equal name="allowedToCreate" value="true"> |
||
72 | <backpath:link action="/user/system/edit"><bean:message key="ak.hostcaptain.page.user.system.list.add" /></backpath:link> |
||
73 | </logic:equal> |
||
74 | |||
75 | <br> |
||
76 | <backpath:backlink><bean:message key="ak.hostcaptain.page.user.system.list.back" /></backpath:backlink> |
||
77 | |||
78 | </body> |
||
79 | |||
80 | </html> |