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.domain.list.title" /></title> |
||
12 | </head> |
||
13 | |||
14 | <body> |
||
15 | |||
16 | <h1><bean:message key="ak.hostcaptain.page.domain.list.title" /></h1> |
||
17 | |||
18 | <html:errors/> |
||
19 | |||
20 | <table border=1> |
||
21 | <tr> |
||
22 | <th><bean:message key="ak.hostcaptain.page.domain.list.name" /></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> |
||
25 | <th> </th> |
||
26 | <th> </th> |
||
27 | </tr> |
||
28 | |||
29 | <logic:iterate name="domains" id="domain"> |
||
30 | <tr> |
||
31 | <td><bean:write name="domain" property="name" /></td> |
||
32 | <td><bean:write name="domain" property="owner.login" /></td> |
||
33 | <td> |
||
34 | <logic:equal name="domain" property="enabled" value="true">x</logic:equal> |
||
35 | <logic:notEqual name="domain" property="enabled" value="true"> </logic:notEqual> |
||
36 | </td> |
||
37 | <td> |
||
38 | <core:editable name="domain"> |
||
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"> |
||
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> |
||
58 | </tr> |
||
59 | </logic:iterate> |
||
60 | </table> |
||
61 | |||
62 | <logic:equal name="allowedToCreate" value="true"> |
||
63 | <backpath:link action="/domain/edit"><bean:message key="ak.hostcaptain.page.domain.list.add" /></backpath:link> |
||
64 | </logic:equal> |
||
65 | |||
66 | <br> |
||
67 | <backpath:backlink><bean:message key="ak.hostcaptain.page.domain.list.back" /></backpath:backlink> |
||
68 | |||
69 | </body> |
||
70 | |||
71 | </html> |