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