mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2025-12-13 01:45:59 +00:00
Hide relayhosts when ACL does not allow
This commit is contained in:
@@ -58,6 +58,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% if acl.domain_relayhost == '1' %}
|
||||
<div class="row mb-2">
|
||||
<label class="control-label col-sm-2" for="relayhost">{{ lang.edit.relayhost }}</label>
|
||||
<div class="col-sm-10">
|
||||
@@ -76,6 +77,7 @@
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if mailcow_cc_role == 'admin' %}
|
||||
<div class="row mb-2">
|
||||
<label class="control-label col-sm-2" for="aliases">{{ lang.edit.max_aliases }}</label>
|
||||
@@ -293,7 +295,7 @@
|
||||
<input type="hidden" value="0" name="active">
|
||||
<input type="hidden" value="{{ domain }}" name="domain">
|
||||
<div class="row mb-2">
|
||||
<label class="control-label col-sm-2" for="version">
|
||||
<label class="control-label col-sm-2" for="version">
|
||||
<i style="font-size: 16px; cursor: pointer;" class="bi bi-patch-question-fill m-2 ms-0" data-bs-toggle="tooltip" data-bs-html="true" data-bs-placement="bottom" title="{{ lang.edit.mta_sts_version_info|raw }}"></i>
|
||||
{{ lang.edit.mta_sts_version }}
|
||||
</label>
|
||||
|
||||
@@ -114,6 +114,7 @@
|
||||
<small class="text-muted d-block">{{ lang.edit.sender_acl_info|raw }}</small>
|
||||
</div>
|
||||
</div>
|
||||
{% if acl.mailbox_relayhost == '1' %}
|
||||
<div class="row mb-2">
|
||||
<label class="control-label col-sm-2" for="relayhost">{{ lang.edit.relayhost }}</label>
|
||||
<div class="col-sm-10">
|
||||
@@ -134,6 +135,7 @@
|
||||
<small class="text-muted d-block mb-4">{{ lang.edit.mailbox_relayhost_info }}</small>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
<div class="row mb-2">
|
||||
<label class="control-label col-sm-2">{{ lang.user.tag_handling }}</label>
|
||||
<div class="col-sm-10">
|
||||
|
||||
Reference in New Issue
Block a user