only show ratelimit to server level admins
This commit is contained in:
parent
fd94a4e3c4
commit
fc52030df9
|
@ -48,14 +48,13 @@
|
||||||
</false>
|
</false>
|
||||||
</check>
|
</check>
|
||||||
|
|
||||||
<label for="ratelimit">Rate Limit <small>(emails per hour)</small></label>
|
|
||||||
<check if="{{ @NAV.mapping=='vpanel' }}">
|
<check if="{{ @NAV.mapping=='vpanel' }}">
|
||||||
|
<label for="ratelimit">Rate Limit <small>(emails per hour)</small></label>
|
||||||
<true>
|
<true>
|
||||||
<input id="ratelimit" name="ratelimit" type="text" value="{{ @mbox.ratelimit }}" required>
|
<input id="ratelimit" name="ratelimit" type="text" value="{{ @mbox.ratelimit }}" required>
|
||||||
</true>
|
</true>
|
||||||
<false>
|
<false>
|
||||||
<input id="ratelimit" name="ratelimit" type="hidden" value="{{ @mbox.ratelimit }}" required>
|
<input id="ratelimit" name="ratelimit" type="hidden" value="{{ @mbox.ratelimit }}" required>
|
||||||
{{ @mbox.ratelimit }}
|
|
||||||
</false>
|
</false>
|
||||||
</check>
|
</check>
|
||||||
|
|
||||||
|
|
|
@ -47,14 +47,13 @@
|
||||||
</false>
|
</false>
|
||||||
</check>
|
</check>
|
||||||
|
|
||||||
<label for="ratelimit">Rate Limit <small>(emails per hour)</small></label>
|
|
||||||
<check if="{{ @NAV.mapping=='vpanel' }}">
|
<check if="{{ @NAV.mapping=='vpanel' }}">
|
||||||
|
<label for="ratelimit">Rate Limit <small>(emails per hour)</small></label>
|
||||||
<true>
|
<true>
|
||||||
<input id="ratelimit" name="ratelimit" type="text" value="{{ @mbox_array.ratelimit }}" required>
|
<input id="ratelimit" name="ratelimit" type="text" value="{{ @mbox_array.ratelimit }}" required>
|
||||||
</true>
|
</true>
|
||||||
<false>
|
<false>
|
||||||
<input id="ratelimit" name="ratelimit" type="hidden" value="{{ @mbox_array.ratelimit }}" required>
|
<input id="ratelimit" name="ratelimit" type="hidden" value="{{ @mbox_array.ratelimit }}" required>
|
||||||
{{ @mbox_array.ratelimit }}
|
|
||||||
</false>
|
</false>
|
||||||
</check>
|
</check>
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,9 @@
|
||||||
<th>Account</th>
|
<th>Account</th>
|
||||||
<th>Status</th>
|
<th>Status</th>
|
||||||
<th>Quota</th>
|
<th>Quota</th>
|
||||||
|
<check if="{{ @NAV.mapping=='vpanel' }}">
|
||||||
<th>Rate Limit</th>
|
<th>Rate Limit</th>
|
||||||
|
</check>
|
||||||
<th>Filtering</th>
|
<th>Filtering</th>
|
||||||
<th>Action</th>
|
<th>Action</th>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -13,7 +15,9 @@
|
||||||
<td>{{ @mbox_array.mbox }}@{{ @mbox_array.domain }}</td>
|
<td>{{ @mbox_array.mbox }}@{{ @mbox_array.domain }}</td>
|
||||||
<td>{{ @mbox_array.status }}</td>
|
<td>{{ @mbox_array.status }}</td>
|
||||||
<td>{{ @mbox_array.quota }}</td>
|
<td>{{ @mbox_array.quota }}</td>
|
||||||
|
<check if="{{ @NAV.mapping=='vpanel' }}">
|
||||||
<td>{{ @mbox_array.ratelimit }}</td>
|
<td>{{ @mbox_array.ratelimit }}</td>
|
||||||
|
</check>
|
||||||
<td>{{ @mbox_array.filter }}</td>
|
<td>{{ @mbox_array.filter }}</td>
|
||||||
<td><a href="{{@REALM}}/Edit">Edit</a> <a href="{{@REALM}}/Delete">Delete</a></td>
|
<td><a href="{{@REALM}}/Edit">Edit</a> <a href="{{@REALM}}/Delete">Delete</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user