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" %> |
||
958 | dev | 6 | <%@ taglib uri="/WEB-INF/ak-strutsx.tld" prefix="strutsx" %> |
924 | dev | 7 | <%@ taglib uri="/WEB-INF/hostadmiral-core.tld" prefix="core" %> |
920 | dev | 8 | <html> |
9 | |||
10 | <head> |
||
11 | <meta http-equiv="expires" content="0"> |
||
924 | dev | 12 | <title><bean:message key="ak.hostadmiral.page.mail.alias.list.title" /></title> |
958 | dev | 13 | <link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css"> |
920 | dev | 14 | </head> |
15 | |||
16 | <body> |
||
17 | |||
924 | dev | 18 | <h1><bean:message key="ak.hostadmiral.page.mail.alias.list.title" /></h1> |
920 | dev | 19 | |
958 | dev | 20 | <strutsx:errorsIterator id="errors" /> |
21 | <strutsx:notEmpty name="errors"> |
||
22 | <div class="error"><bean:message key="ak.hostadmiral.page.general.errors" />: |
||
23 | <ul> |
||
24 | <logic:iterate name="errors" id="error"> |
||
25 | <li><strutsx:message name="error" property="key" valuesProperty="values" /></li> |
||
26 | </logic:iterate> |
||
27 | </ul> |
||
28 | </div> |
||
29 | </strutsx:notEmpty> |
||
920 | dev | 30 | |
31 | <table border=1> |
||
32 | <tr> |
||
924 | dev | 33 | <th><bean:message key="ak.hostadmiral.page.mail.alias.list.alias" /></th> |
34 | <th><bean:message key="ak.hostadmiral.page.mail.alias.list.domain" /></th> |
||
35 | <th><bean:message key="ak.hostadmiral.page.mail.alias.list.owner" /></th> |
||
36 | <th><bean:message key="ak.hostadmiral.page.mail.alias.list.enabled" /></th> |
||
920 | dev | 37 | <th> </th> |
38 | <th> </th> |
||
39 | </tr> |
||
40 | |||
41 | <logic:iterate name="aliases" id="alias"> |
||
42 | <tr> |
||
43 | <td><bean:write name="alias" property="address" /></td> |
||
44 | <td><bean:write name="alias" property="domain.name" /></td> |
||
45 | <td><bean:write name="alias" property="owner.login" /></td> |
||
46 | <td> |
||
47 | <logic:equal name="alias" property="enabled" value="true">x</logic:equal> |
||
48 | <logic:notEqual name="alias" property="enabled" value="true"> </logic:notEqual> |
||
49 | </td> |
||
50 | <td> |
||
51 | <core:editable name="alias"> |
||
924 | dev | 52 | <backpath:link action="/mail/alias/edit" paramId="id" paramName="alias" paramProperty="id"><bean:message key="ak.hostadmiral.page.mail.alias.list.edit" /></backpath:link> |
920 | dev | 53 | </core:editable> |
54 | <core:notEditable name="alias"> |
||
923 | dev | 55 | <core:rights name="alias" method="mayChangeDestinations"> |
924 | dev | 56 | <backpath:link action="/mail/alias/edit" paramId="id" paramName="alias" paramProperty="id"><bean:message key="ak.hostadmiral.page.mail.alias.list.editdests" /></backpath:link> |
923 | dev | 57 | </core:rights> |
58 | <core:noRights name="alias" method="mayChangeDestinations"> |
||
59 | <core:viewable name="alias"> |
||
924 | dev | 60 | <backpath:link action="/mail/alias/edit" paramId="id" paramName="alias" paramProperty="id"><bean:message key="ak.hostadmiral.page.mail.alias.list.view" /></backpath:link> |
923 | dev | 61 | </core:viewable> |
62 | <core:notViewable name="alias"> |
||
63 | |
||
64 | </core:notViewable> |
||
65 | </core:noRights> |
||
920 | dev | 66 | </core:notEditable> |
67 | </td> |
||
68 | <td> |
||
69 | <core:deleteable name="alias"> |
||
924 | dev | 70 | <backpath:link action="/mail/alias/delete" paramId="id" paramName="alias" paramProperty="id"><bean:message key="ak.hostadmiral.page.mail.alias.list.delete" /></backpath:link> |
920 | dev | 71 | </core:deleteable> |
72 | <core:notDeleteable name="alias"> |
||
73 | |
||
74 | </core:notDeleteable> |
||
75 | </td> |
||
76 | </tr> |
||
77 | </logic:iterate> |
||
78 | </table> |
||
79 | |||
80 | <logic:equal name="allowedToCreate" value="true"> |
||
924 | dev | 81 | <backpath:link action="/mail/alias/edit"><bean:message key="ak.hostadmiral.page.mail.alias.list.add" /></backpath:link> |
920 | dev | 82 | </logic:equal> |
83 | |||
84 | <br> |
||
924 | dev | 85 | <backpath:backlink><bean:message key="ak.hostadmiral.page.mail.alias.list.back" /></backpath:backlink> |
920 | dev | 86 | |
87 | </body> |
||
88 | |||
89 | </html> |