vpanel-stack/panel/ui/vmail/aliases.html
Matthew Saunders Brown a46cc02930 fix isset checks
2022-08-31 14:19:30 -07:00

43 lines
1.3 KiB
HTML

<include href="header.html" />
<check if="isset(@aliases_array)">
<true>
<table>
<tr>
<th>Alias</th>
<th></th>
<th>Email Account</th>
<th>Action</th>
</tr>
<repeat group="{{ @aliases_array }}" value="{{ @alias_array }}">
<tr>
<td><a href="{{@NAV.vmailbase}}/Aliases/{{ @alias_array.alias }}">{{ @alias_array.alias }}@{{ @alias_array.domain }}</a></td>
<td> > </td>
<td><a href="{{@NAV.vmailbase}}/Accounts/{{ @alias_array.mbox }}">{{ @alias_array.mbox }}@{{ @alias_array.domain }}</a></td>
<td><a href="{{@NAV.vmailbase}}/Accounts/{{ @alias_array.mbox }}/Aliases/{{ @alias_array.alias }}/Delete">Delete</a></td>
</tr>
</repeat>
</table>
</true>
<false>There are no email aliases for {{@PARAMS.domain}}<br></false>
</check>
<p>
<b>Alias</b> is a pseudo address, it doesn't actually exist as an email account.<br>
<b>Email Account</b> is the existing email account that the alias address is delivered to.<br>
</p>
<p>
<check if="isset(@PARAMS.mbox)">
<true>
<a href="{{@REALM}}/Add">Add new email alias form</a>
</true>
<false>
To add a new alias first select an <a href="{{@NAV.vmailbase}}/Accounts">email account</a> to alias to.</br>
</false>
</check>
</p>
<include href="footer.html" />