vpanel-stack/panel/ui/vmail/forwards.html

34 lines
1.0 KiB
HTML
Raw Normal View History

2022-07-01 15:24:26 -07:00
<include href="header.html" />
<check if="{{ @forwards_array }}">
<true>
<table>
<tr>
<th>Account</th>
<th>Forwards to</th>
<th>Local Copy</th>
<th>Action</th>
</tr>
<repeat group="{{ @forwards_array }}" value="{{ @forward_array }}">
<tr>
<td><a href="{{@NAV.vmailbase}}/Accounts/{{ @forward_array.mbox }}">{{ @forward_array.mbox }}@{{@PARAMS.domain}}</a></td>
<td>{{@forward_array.forward_to}}</td>
<td>{{@forward_array.save_local}}</td>
<td><a href="{{@NAV.vmailbase}}/Accounts/{{ @forward_array.mbox }}/Forwarding/Edit">Edit</a> <a href="{{@NAV.vmailbase}}/Accounts/{{ @forward_array.mbox }}/Forwarding/Delete">Delete</a></td>
</tr>
</repeat>
</table>
</true>
<false>
<p>
There are no email forwards for {{@PARAMS.domain}}<br>
To add a new forward first select an <a href="{{@NAV.vmailbase}}/Accounts">email account</a> to forward.</br>
</false>
</check>
<p>
</p>
<include href="footer.html" />