Rev 958 | Rev 1012 | Go to most recent revision | Details | Compare with Previous | 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" %> |
||
958 | dev | 6 | <%@ taglib uri="/WEB-INF/ak-strutsx.tld" prefix="strutsx" %> |
924 | dev | 7 | <%@ taglib uri="/WEB-INF/hostadmiral-core.tld" prefix="core" %> |
920 | dev | 8 | <html> |
9 | |||
10 | <head> |
||
11 | <meta http-equiv="expires" content="0"> |
||
924 | dev | 12 | <title><bean:message key="ak.hostadmiral.page.user.system.list.title" /></title> |
958 | dev | 13 | <link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css"> |
920 | dev | 14 | </head> |
15 | |||
16 | <body> |
||
17 | |||
924 | dev | 18 | <h1><bean:message key="ak.hostadmiral.page.user.system.list.title" /></h1> |
920 | dev | 19 | |
958 | dev | 20 | <strutsx:errorsIterator id="errors" /> |
21 | <strutsx:notEmpty name="errors"> |
||
22 | <div class="error"><bean:message key="ak.hostadmiral.page.general.errors" />: |
||
23 | <ul> |
||
24 | <logic:iterate name="errors" id="error"> |
||
25 | <li><strutsx:message name="error" property="key" valuesProperty="values" /></li> |
||
26 | </logic:iterate> |
||
27 | </ul> |
||
28 | </div> |
||
29 | </strutsx:notEmpty> |
||
920 | dev | 30 | |
31 | <table border=1> |
||
32 | <tr> |
||
924 | dev | 33 | <th><bean:message key="ak.hostadmiral.page.user.system.list.uid" /></th> |
34 | <th><bean:message key="ak.hostadmiral.page.user.system.list.name" /></th> |
||
35 | <th><bean:message key="ak.hostadmiral.page.user.system.list.owner" /></th> |
||
36 | <th><bean:message key="ak.hostadmiral.page.user.system.list.enabled" /></th> |
||
920 | dev | 37 | <th> </th> |
38 | <th> </th> |
||
39 | </tr> |
||
40 | |||
41 | <logic:iterate name="users" id="u"> |
||
42 | <tr> |
||
43 | <td><bean:write name="u" property="uid" /></td> |
||
44 | <td><bean:write name="u" property="name" /></td> |
||
45 | <td> |
||
46 | <logic:present name="u" property="owner"> |
||
47 | <bean:write name="u" property="owner.login" /> |
||
48 | </logic:present> |
||
49 | <logic:notPresent name="u" property="owner"> |
||
50 | |
||
51 | </logic:notPresent> |
||
52 | </td> |
||
53 | <td> |
||
54 | <logic:equal name="u" property="enabled" value="true">x</logic:equal> |
||
55 | <logic:notEqual name="u" property="enabled" value="true"> </logic:notEqual> |
||
56 | </td> |
||
57 | <td> |
||
58 | <core:editable name="u"> |
||
924 | dev | 59 | <backpath:link action="/user/system/edit" paramId="id" paramName="u" paramProperty="id"><bean:message key="ak.hostadmiral.page.user.system.list.edit" /></backpath:link> |
920 | dev | 60 | </core:editable> |
61 | <core:notEditable name="u"> |
||
62 | <core:viewable name="u"> |
||
924 | dev | 63 | <backpath:link action="/user/system/edit" paramId="id" paramName="u" paramProperty="id"><bean:message key="ak.hostadmiral.page.user.system.list.view" /></backpath:link> |
920 | dev | 64 | </core:viewable> |
65 | <core:notViewable name="u"> |
||
66 | |
||
67 | </core:notViewable> |
||
68 | </core:notEditable> |
||
69 | </td> |
||
70 | <td> |
||
71 | <core:deleteable name="u"> |
||
924 | dev | 72 | <backpath:link action="/user/system/delete" paramId="id" paramName="u" paramProperty="id"><bean:message key="ak.hostadmiral.page.user.system.list.delete" /></backpath:link> |
920 | dev | 73 | </core:deleteable> |
74 | <core:notDeleteable name="u"> |
||
75 | |
||
76 | </core:notDeleteable> |
||
77 | </td> |
||
78 | </tr> |
||
79 | </logic:iterate> |
||
80 | </table> |
||
81 | |||
82 | <logic:equal name="allowedToCreate" value="true"> |
||
924 | dev | 83 | <backpath:link action="/user/system/edit"><bean:message key="ak.hostadmiral.page.user.system.list.add" /></backpath:link> |
920 | dev | 84 | </logic:equal> |
85 | |||
86 | <br> |
||
924 | dev | 87 | <backpath:backlink><bean:message key="ak.hostadmiral.page.user.system.list.back" /></backpath:backlink> |
920 | dev | 88 | |
89 | </body> |
||
90 | |||
91 | </html> |