Subversion Repositories general

Rev

Rev 914 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 914 Rev 920
Line 1... Line 1...
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 border=1>
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>&nbsp;</th>
25
		<th>&nbsp;</th>
26
		<th>&nbsp;</th>
26
		<th>&nbsp;</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">&nbsp;</logic:notEqual>
35
			<logic:notEqual name="domain" property="enabled" value="true">&nbsp;</logic:notEqual>
36
		</td>
36
		</td>
37
		<td>
37
		<td>
38
			<core:editable name="domain">
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>
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>
40
			</core:editable>
41
			<core:notEditable name="domain">
41
			<core:notEditable name="domain">
42
				<core:viewable 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>
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>
44
				</core:viewable>
45
				<core:notViewable name="domain">
45
				<core:notViewable name="domain">
46
					&nbsp;
46
					&nbsp;
47
				</core:notViewable>
47
				</core:notViewable>
48
			</core:notEditable>
48
			</core:notEditable>
49
		</td>
49
		</td>
50
		<td>
50
		<td>
51
			<core:deleteable name="domain">
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>
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>
53
			</core:deleteable>
54
			<core:notDeleteable name="domain">
54
			<core:notDeleteable name="domain">
55
				&nbsp;
55
				&nbsp;
56
			</core:notDeleteable>
56
			</core:notDeleteable>
57
		</td>
57
		</td>
58
	</tr>
58
	</tr>
59
</logic:iterate>
59
</logic:iterate>
60
</table>
60
</table>
61
 
61
 
62
<logic:equal name="allowedToCreate" value="true">
62
<logic:equal name="allowedToCreate" value="true">
63
	<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>
64
</logic:equal>
65
 
65
 
66
<br>
66
<br>
67
<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>
68
 
68
 
69
</body>
69
</body>
70
 
70
 
71
</html>
71
</html>