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

27 lines
954 B
HTML
Raw Normal View History

2022-07-01 15:24:26 -07:00
<include href="header.html" />
<check if="{{ @mboxes_array }}">
<true>
<table>
<tr>
<th>Email</th>
<th>Options</th>
<th>Account</th>
</tr>
<repeat group="{{ @mboxes_array }}" value="{{ @mbox_array }}">
<tr>
<td><a href="{{@REALM}}/{{ @mbox_array.mbox }}">{{ @mbox_array.mbox }}@{{@PARAMS.domain}}</a></td>
<td><a href="{{@REALM}}/{{ @mbox_array.mbox }}/Aliases">Aliases</a> | <a href="{{@REALM}}/{{ @mbox_array.mbox }}/Autoresponder">Autoresponder</a> | <a href="{{@REALM}}/{{ @mbox_array.mbox }}/Forwarding">Forwarding</a></td>
<td><a href="{{@REALM}}/{{ @mbox_array.mbox }}/Edit">Edit</a> <a href="{{@REALM}}/{{ @mbox_array.mbox }}/Delete">Delete</a></td>
</tr>
</repeat>
</table>
</true>
<false>
<p>There are no email accounts for {{@PARAMS.domain}}</p>
</false>
</check>
<p><a href="{{@REALM}}/Add">Add new email account form</a></p>
<include href="footer.html" />