Rev 924 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 924 | Rev 925 | ||
---|---|---|---|
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/hostadmiral-core.tld" prefix="core" %> |
6 | <%@ taglib uri="/WEB-INF/hostadmiral-core.tld" prefix="core" %> |
7 | <html> |
7 | <html> |
8 | 8 | ||
9 | <head> |
9 | <head> |
10 | <meta http-equiv="expires" content="0"> |
10 | <meta http-equiv="expires" content="0"> |
11 | <title><bean:message key="ak.hostadmiral.page.user.system.list.title" /></title> |
11 | <title><bean:message key="ak.hostadmiral.page.user.system.list.title" /></title> |
12 | </head> |
12 | </head> |
13 | 13 | ||
14 | <body> |
14 | <body> |
15 | 15 | ||
16 | <h1><bean:message key="ak.hostadmiral.page.user.system.list.title" /></h1> |
16 | <h1><bean:message key="ak.hostadmiral.page.user.system.list.title" /></h1> |
17 | 17 | ||
18 | <html:errors/> |
18 | <html:errors/> |
19 | 19 | ||
20 | <table border=1> |
20 | <table border=1> |
21 | <tr> |
21 | <tr> |
22 | <th><bean:message key="ak.hostadmiral.page.user.system.list.uid" /></th> |
22 | <th><bean:message key="ak.hostadmiral.page.user.system.list.uid" /></th> |
23 | <th><bean:message key="ak.hostadmiral.page.user.system.list.name" /></th> |
23 | <th><bean:message key="ak.hostadmiral.page.user.system.list.name" /></th> |
24 | <th><bean:message key="ak.hostadmiral.page.user.system.list.owner" /></th> |
24 | <th><bean:message key="ak.hostadmiral.page.user.system.list.owner" /></th> |
25 | <th><bean:message key="ak.hostadmiral.page.user.system.list.enabled" /></th> |
25 | <th><bean:message key="ak.hostadmiral.page.user.system.list.enabled" /></th> |
26 | <th> </th> |
26 | <th> </th> |
27 | <th> </th> |
27 | <th> </th> |
28 | </tr> |
28 | </tr> |
29 | 29 | ||
30 | <logic:iterate name="users" id="u"> |
30 | <logic:iterate name="users" id="u"> |
31 | <tr> |
31 | <tr> |
32 | <td><bean:write name="u" property="uid" /></td> |
32 | <td><bean:write name="u" property="uid" /></td> |
33 | <td><bean:write name="u" property="name" /></td> |
33 | <td><bean:write name="u" property="name" /></td> |
34 | <td> |
34 | <td> |
35 | <logic:present name="u" property="owner"> |
35 | <logic:present name="u" property="owner"> |
36 | <bean:write name="u" property="owner.login" /> |
36 | <bean:write name="u" property="owner.login" /> |
37 | </logic:present> |
37 | </logic:present> |
38 | <logic:notPresent name="u" property="owner"> |
38 | <logic:notPresent name="u" property="owner"> |
39 | |
39 | |
40 | </logic:notPresent> |
40 | </logic:notPresent> |
41 | </td> |
41 | </td> |
42 | <td> |
42 | <td> |
43 | <logic:equal name="u" property="enabled" value="true">x</logic:equal> |
43 | <logic:equal name="u" property="enabled" value="true">x</logic:equal> |
44 | <logic:notEqual name="u" property="enabled" value="true"> </logic:notEqual> |
44 | <logic:notEqual name="u" property="enabled" value="true"> </logic:notEqual> |
45 | </td> |
45 | </td> |
46 | <td> |
46 | <td> |
47 | <core:editable name="u"> |
47 | <core:editable name="u"> |
48 | <backpath:link action="/user/system/edit" paramId="id" paramName="u" paramProperty="id"><bean:message key="ak.hostadmiral.page.user.system.list.edit" /></backpath:link> |
48 | <backpath:link action="/user/system/edit" paramId="id" paramName="u" paramProperty="id"><bean:message key="ak.hostadmiral.page.user.system.list.edit" /></backpath:link> |
49 | </core:editable> |
49 | </core:editable> |
50 | <core:notEditable name="u"> |
50 | <core:notEditable name="u"> |
51 | <core:viewable name="u"> |
51 | <core:viewable name="u"> |
52 | <backpath:link action="/user/system/edit" paramId="id" paramName="u" paramProperty="id"><bean:message key="ak.hostadmiral.page.user.system.list.view" /></backpath:link> |
52 | <backpath:link action="/user/system/edit" paramId="id" paramName="u" paramProperty="id"><bean:message key="ak.hostadmiral.page.user.system.list.view" /></backpath:link> |
53 | </core:viewable> |
53 | </core:viewable> |
54 | <core:notViewable name="u"> |
54 | <core:notViewable name="u"> |
55 | |
55 | |
56 | </core:notViewable> |
56 | </core:notViewable> |
57 | </core:notEditable> |
57 | </core:notEditable> |
58 | </td> |
58 | </td> |
59 | <td> |
59 | <td> |
60 | <core:deleteable name="u"> |
60 | <core:deleteable name="u"> |
61 | <backpath:link action="/user/system/delete" paramId="id" paramName="u" paramProperty="id"><bean:message key="ak.hostadmiral.page.user.system.list.delete" /></backpath:link> |
61 | <backpath:link action="/user/system/delete" paramId="id" paramName="u" paramProperty="id"><bean:message key="ak.hostadmiral.page.user.system.list.delete" /></backpath:link> |
62 | </core:deleteable> |
62 | </core:deleteable> |
63 | <core:notDeleteable name="u"> |
63 | <core:notDeleteable name="u"> |
64 | |
64 | |
65 | </core:notDeleteable> |
65 | </core:notDeleteable> |
66 | </td> |
66 | </td> |
67 | </tr> |
67 | </tr> |
68 | </logic:iterate> |
68 | </logic:iterate> |
69 | </table> |
69 | </table> |
70 | 70 | ||
71 | <logic:equal name="allowedToCreate" value="true"> |
71 | <logic:equal name="allowedToCreate" value="true"> |
72 | <backpath:link action="/user/system/edit"><bean:message key="ak.hostadmiral.page.user.system.list.add" /></backpath:link> |
72 | <backpath:link action="/user/system/edit"><bean:message key="ak.hostadmiral.page.user.system.list.add" /></backpath:link> |
73 | </logic:equal> |
73 | </logic:equal> |
74 | 74 | ||
75 | <br> |
75 | <br> |
76 | <backpath:backlink><bean:message key="ak.hostadmiral.page.user.system.list.back" /></backpath:backlink> |
76 | <backpath:backlink><bean:message key="ak.hostadmiral.page.user.system.list.back" /></backpath:backlink> |
77 | 77 | ||
78 | </body> |
78 | </body> |
79 | 79 | ||
80 | </html> |
80 | </html> |