Rev 913 | Rev 920 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 913 | Rev 914 | ||
---|---|---|---|
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.domain.list.title" /></title> |
11 | <title><bean:message key="ak.hostcaptain.page.domain.list.title" /></title> |
12 | </head> |
12 | </head> |
13 | 13 | ||
14 | <body> |
14 | <body> |
15 | 15 | ||
16 | <h1><bean:message key="ak.hostcaptain.page.domain.list.title" /></h1> |
16 | <h1><bean:message key="ak.hostcaptain.page.domain.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.domain.list.name" /></th> |
22 | <th><bean:message key="ak.hostcaptain.page.domain.list.name" /></th> |
23 | <th><bean:message key="ak.hostcaptain.page.domain.list.owner" /></th> |
23 | <th><bean:message key="ak.hostcaptain.page.domain.list.owner" /></th> |
24 | <th><bean:message key="ak.hostcaptain.page.domain.list.enabled" /></th> |
24 | <th><bean:message key="ak.hostcaptain.page.domain.list.enabled" /></th> |
25 | <th> </th> |
25 | <th> </th> |
26 | <th> </th> |
26 | <th> </th> |
27 | </tr> |
27 | </tr> |
28 | 28 | ||
29 | <logic:iterate name="domains" id="domain"> |
29 | <logic:iterate name="domains" id="domain"> |
30 | <tr> |
30 | <tr> |
31 | <td><bean:write name="domain" property="name" /></td> |
31 | <td><bean:write name="domain" property="name" /></td> |
32 | <td><bean:write name="domain" property="owner.login" /></td> |
32 | <td><bean:write name="domain" property="owner.login" /></td> |
33 | <td> |
33 | <td> |
34 | <logic:equal name="domain" property="enabled" value="true">x</logic:equal> |
34 | <logic:equal name="domain" property="enabled" value="true">x</logic:equal> |
35 | <logic:notEqual name="domain" property="enabled" value="true"> </logic:notEqual> |
35 | <logic:notEqual name="domain" property="enabled" value="true"> </logic:notEqual> |
36 | </td> |
36 | </td> |
- | 37 | <td> |
|
- | 38 | <core:editable name="domain"> |
|
37 | <td><backpath:link action="/domain/edit" paramId="id" paramName="domain" paramProperty="id"><bean:message key="ak.hostcaptain.page.domain.list.edit" /></backpath:link></td> |
39 | <backpath:link action="/domain/edit" paramId="id" paramName="domain" paramProperty="id"><bean:message key="ak.hostcaptain.page.domain.list.edit" /></backpath:link> |
- | 40 | </core:editable> |
|
- | 41 | <core:notEditable name="domain"> |
|
- | 42 | <core:viewable name="domain"> |
|
- | 43 | <backpath:link action="/domain/edit" paramId="id" paramName="domain" paramProperty="id"><bean:message key="ak.hostcaptain.page.domain.list.view" /></backpath:link> |
|
- | 44 | </core:viewable> |
|
- | 45 | <core:notViewable name="domain"> |
|
- | 46 | |
|
- | 47 | </core:notViewable> |
|
- | 48 | </core:notEditable> |
|
- | 49 | </td> |
|
- | 50 | <td> |
|
- | 51 | <core:deleteable name="domain"> |
|
38 | <td><backpath:link action="/domain/delete" paramId="id" paramName="domain" paramProperty="id"><bean:message key="ak.hostcaptain.page.domain.list.delete" /></backpath:link></td> |
52 | <backpath:link action="/domain/delete" paramId="id" paramName="domain" paramProperty="id"><bean:message key="ak.hostcaptain.page.domain.list.delete" /></backpath:link> |
- | 53 | </core:deleteable> |
|
- | 54 | <core:notDeleteable name="domain"> |
|
- | 55 | |
|
- | 56 | </core:notDeleteable> |
|
- | 57 | </td> |
|
39 | </tr> |
58 | </tr> |
40 | </logic:iterate> |
59 | </logic:iterate> |
41 | </table> |
60 | </table> |
42 | 61 | ||
- | 62 | <logic:equal name="allowedToCreate" value="true"> |
|
43 | <backpath:link action="/domain/edit"><bean:message key="ak.hostcaptain.page.domain.list.add" /></backpath:link> |
63 | <backpath:link action="/domain/edit"><bean:message key="ak.hostcaptain.page.domain.list.add" /></backpath:link> |
- | 64 | </logic:equal> |
|
- | 65 | ||
44 | <br> |
66 | <br> |
45 | <backpath:backlink><bean:message key="ak.hostcaptain.page.domain.list.back" /></backpath:backlink> |
67 | <backpath:backlink><bean:message key="ak.hostcaptain.page.domain.list.back" /></backpath:backlink> |
46 | 68 | ||
47 | </body> |
69 | </body> |
48 | 70 | ||
49 | </html> |
71 | </html> |