1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2025-12-13 18:06:01 +00:00

Merge pull request #6789 from patschi/domain-descr-readonly-when-no-acl

Make domain description field readonly when no ACL
This commit is contained in:
FreddleSpl0it
2025-09-29 11:36:42 +02:00
committed by GitHub

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">