Subversion Repositories general

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
899 dev 1
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
913 dev 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"     %>
899 dev 7
<html>
8
 
9
<head>
10
	<meta http-equiv="expires" content="0">
905 dev 11
	<title><bean:message key="ak.hostcaptain.page.domain.list.title" /></title>
899 dev 12
</head>
13
 
14
<body>
15
 
905 dev 16
<h1><bean:message key="ak.hostcaptain.page.domain.list.title" /></h1>
899 dev 17
 
18
<html:errors/>
19
 
914 dev 20
<table border=1>
899 dev 21
	<tr>
905 dev 22
		<th><bean:message key="ak.hostcaptain.page.domain.list.name" /></th>
23
		<th><bean:message key="ak.hostcaptain.page.domain.list.owner" /></th>
913 dev 24
		<th><bean:message key="ak.hostcaptain.page.domain.list.enabled" /></th>
899 dev 25
		<th>&nbsp;</th>
26
		<th>&nbsp;</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>
913 dev 33
		<td>
34
			<logic:equal name="domain" property="enabled" value="true">x</logic:equal>
35
			<logic:notEqual name="domain" property="enabled" value="true">&nbsp;</logic:notEqual>
36
		</td>
914 dev 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
					&nbsp;
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
				&nbsp;
56
			</core:notDeleteable>
57
		</td>
899 dev 58
	</tr>
59
</logic:iterate>
60
</table>
61
 
914 dev 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
 
899 dev 66
<br>
905 dev 67
<backpath:backlink><bean:message key="ak.hostcaptain.page.domain.list.back" /></backpath:backlink>
899 dev 68
 
69
</body>
70
 
71
</html>