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