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
commit e462602ddc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -39,7 +39,7 @@
<div class="row mb-2" data-acl="{{ acl.domain_desc }}">
<label class="control-label col-sm-2" for="description">{{ lang.edit.description }}</label>
<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 class="row mb-4">