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.mail.box.list.title" /></title>
899 dev 12
</head>
13
 
14
<body>
15
 
905 dev 16
<h1><bean:message key="ak.hostcaptain.page.mail.box.list.title" /></h1>
899 dev 17
 
18
<html:errors/>
19
 
20
<table>
21
	<tr>
905 dev 22
		<th><bean:message key="ak.hostcaptain.page.mail.box.list.login" /></th>
23
		<th><bean:message key="ak.hostcaptain.page.mail.box.list.domain" /></th>
24
		<th><bean:message key="ak.hostcaptain.page.mail.box.list.owner" /></th>
913 dev 25
		<th><bean:message key="ak.hostcaptain.page.mail.box.list.enabled" /></th>
899 dev 26
		<th>&nbsp;</th>
27
	</tr>
28
 
29
<logic:iterate name="mailboxes" id="mailbox">
30
	<tr>
31
		<td><bean:write name="mailbox" property="login" /></td>
32
		<td><bean:write name="mailbox" property="domain.name" /></td>
33
		<td><bean:write name="mailbox" property="owner.login" /></td>
913 dev 34
		<td>
35
			<logic:equal name="mailbox" property="enabled" value="true">x</logic:equal>
36
			<logic:notEqual name="mailbox" property="enabled" value="true">&nbsp;</logic:notEqual>
37
		</td>
914 dev 38
		<td>
39
			<core:editable name="mailbox">
40
				<backpath:link action="/mail/box/edit" paramId="id" paramName="mailbox" paramProperty="id"><bean:message key="ak.hostcaptain.page.mail.box.list.edit" /></backpath:link>
41
			</core:editable>
42
			<core:notEditable name="mailbox">
43
				<core:viewable name="mailbox">
44
					<backpath:link action="/mail/box/edit" paramId="id" paramName="mailbox" paramProperty="id"><bean:message key="ak.hostcaptain.page.mail.box.list.view" /></backpath:link>
45
				</core:viewable>
46
				<core:notViewable name="mailbox">
47
					&nbsp;
48
				</core:notViewable>
49
			</core:notEditable>
50
		</td>
51
		<td>
52
			<core:deleteable name="mailbox">
53
				<backpath:link action="/mail/box/delete" paramId="id" paramName="mailbox" paramProperty="id"><bean:message key="ak.hostcaptain.page.mail.box.list.delete" /></backpath:link>
54
			</core:deleteable>
55
			<core:notDeleteable name="mailbox">
56
				&nbsp;
57
			</core:notDeleteable>
58
		</td>
899 dev 59
	</tr>
60
</logic:iterate>
61
</table>
62
 
914 dev 63
<logic:equal name="allowedToCreate" value="true">
64
	<backpath:link action="/mail/box/edit"><bean:message key="ak.hostcaptain.page.mail.box.list.add" /></backpath:link>
65
</logic:equal>
66
 
899 dev 67
<br>
905 dev 68
<backpath:backlink><bean:message key="ak.hostcaptain.page.mail.box.list.back" /></backpath:backlink>
899 dev 69
 
70
</body>
71
 
72
</html>