Rev 920 | Rev 924 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 920 | Rev 923 | ||
---|---|---|---|
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.mail.alias.list.title" /></title> |
11 | <title><bean:message key="ak.hostcaptain.page.mail.alias.list.title" /></title> |
12 | </head> |
12 | </head> |
13 | 13 | ||
14 | <body> |
14 | <body> |
15 | 15 | ||
16 | <h1><bean:message key="ak.hostcaptain.page.mail.alias.list.title" /></h1> |
16 | <h1><bean:message key="ak.hostcaptain.page.mail.alias.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.mail.alias.list.alias" /></th> |
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> |
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> |
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> |
25 | <th><bean:message key="ak.hostcaptain.page.mail.alias.list.enabled" /></th> |
26 | <th> </th> |
26 | <th> </th> |
27 | <th> </th> |
27 | <th> </th> |
28 | </tr> |
28 | </tr> |
29 | 29 | ||
30 | <logic:iterate name="aliases" id="alias"> |
30 | <logic:iterate name="aliases" id="alias"> |
31 | <tr> |
31 | <tr> |
32 | <td><bean:write name="alias" property="address" /></td> |
32 | <td><bean:write name="alias" property="address" /></td> |
33 | <td><bean:write name="alias" property="domain.name" /></td> |
33 | <td><bean:write name="alias" property="domain.name" /></td> |
34 | <td><bean:write name="alias" property="owner.login" /></td> |
34 | <td><bean:write name="alias" property="owner.login" /></td> |
35 | <td> |
35 | <td> |
36 | <logic:equal name="alias" property="enabled" value="true">x</logic:equal> |
36 | <logic:equal name="alias" property="enabled" value="true">x</logic:equal> |
37 | <logic:notEqual name="alias" property="enabled" value="true"> </logic:notEqual> |
37 | <logic:notEqual name="alias" property="enabled" value="true"> </logic:notEqual> |
38 | </td> |
38 | </td> |
39 | <td> |
39 | <td> |
40 | <core:editable name="alias"> |
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> |
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> |
42 | </core:editable> |
43 | <core:notEditable name="alias"> |
43 | <core:notEditable name="alias"> |
- | 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"> |
|
44 | <core:viewable name="alias"> |
48 | <core:viewable name="alias"> |
45 | <backpath:link action="/mail/alias/edit" paramId="id" paramName="alias" paramProperty="id"><bean:message key="ak.hostcaptain.page.mail.alias.list.edit" /></backpath:link> |
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> |
46 | </core:viewable> |
50 | </core:viewable> |
47 | <core:notViewable name="alias"> |
51 | <core:notViewable name="alias"> |
48 | |
52 | |
49 | </core:notViewable> |
53 | </core:notViewable> |
- | 54 | </core:noRights> |
|
50 | </core:notEditable> |
55 | </core:notEditable> |
51 | </td> |
56 | </td> |
52 | <td> |
57 | <td> |
53 | <core:deleteable name="alias"> |
58 | <core:deleteable name="alias"> |
54 | <backpath:link action="/mail/alias/delete" paramId="id" paramName="alias" paramProperty="id"><bean:message key="ak.hostcaptain.page.mail.alias.list.delete" /></backpath:link> |
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> |
55 | </core:deleteable> |
60 | </core:deleteable> |
56 | <core:notDeleteable name="alias"> |
61 | <core:notDeleteable name="alias"> |
57 | |
62 | |
58 | </core:notDeleteable> |
63 | </core:notDeleteable> |
59 | </td> |
64 | </td> |
60 | </tr> |
65 | </tr> |
61 | </logic:iterate> |
66 | </logic:iterate> |
62 | </table> |
67 | </table> |
63 | 68 | ||
64 | <logic:equal name="allowedToCreate" value="true"> |
69 | <logic:equal name="allowedToCreate" value="true"> |
65 | <backpath:link action="/mail/alias/edit"><bean:message key="ak.hostcaptain.page.mail.alias.list.add" /></backpath:link> |
70 | <backpath:link action="/mail/alias/edit"><bean:message key="ak.hostcaptain.page.mail.alias.list.add" /></backpath:link> |
66 | </logic:equal> |
71 | </logic:equal> |
67 | 72 | ||
68 | <br> |
73 | <br> |
69 | <backpath:backlink><bean:message key="ak.hostcaptain.page.mail.alias.list.back" /></backpath:backlink> |
74 | <backpath:backlink><bean:message key="ak.hostcaptain.page.mail.alias.list.back" /></backpath:backlink> |
70 | 75 | ||
71 | </body> |
76 | </body> |
72 | 77 | ||
73 | </html> |
78 | </html> |