1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2025-12-15 10:55:59 +00:00

Make domain description field readonly when no ACL

This commit is contained in:
Patrik Kernstock
2025-09-26 17:13:24 +02:00
parent 9133b9899c
commit 20f04ecf6b

View File

@@ -39,7 +39,7 @@
<div class="row mb-2" data-acl="{{ acl.domain_desc }}"> <div class="row mb-2" data-acl="{{ acl.domain_desc }}">
<label class="control-label col-sm-2" for="description">{{ lang.edit.description }}</label> <label class="control-label col-sm-2" for="description">{{ lang.edit.description }}</label>
<div class="col-sm-10"> <div class="col-sm-10">
<input type="text" class="form-control" name="description" value="{{ result.description }}"> <input type="text" class="form-control" name="description" value="{{ result.description }}"{% if acl.domain_desc == '0' %} readonly{% endif %}>
</div> </div>
</div> </div>
<div class="row mb-4"> <div class="row mb-4">