mirror of
https://github.com/flextype/flextype.git
synced 2025-08-29 07:50:29 +02:00
- don't allow to disable site plugin
This commit is contained in:
@@ -35,7 +35,7 @@
|
||||
<span class="switch switch-sm">
|
||||
<input id="switch-sm-{{ plugin.name }}" type="checkbox" class="switch js-switch" data-plugin="{{ key }}"
|
||||
{% if plugin.enabled %}checked{% endif %}
|
||||
{% if key == 'admin' or key == '' %}disabled{% endif %}>
|
||||
{% if key == 'admin' or key == 'site' or key == '' %}disabled{% endif %}>
|
||||
<label for="switch-sm-{{ plugin.name }}"></label>
|
||||
</span>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user