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

34 lines
1.0 KiB
HTML

<include href="header.html" />
<check if="isset(@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" />