mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2026-05-07 22:06:01 +02:00
switch around normal and expert mode
This commit is contained in:
@@ -122,10 +122,9 @@
|
||||
{% endif %}
|
||||
|
||||
{% if admin.session.expert == '0' %}
|
||||
{% include 'partials/blueprints-raw.html.twig' with { blueprints: admin.blueprints('pages/'~modular~'raw'), data: context } %}
|
||||
|
||||
{% include 'partials/blueprints.html.twig' with { blueprints: context.blueprints, data: context } %}
|
||||
{% else %}
|
||||
{% include 'partials/blueprints.html.twig' with { blueprints: context.blueprints, data: context } %}
|
||||
{% include 'partials/blueprints-raw.html.twig' with { blueprints: admin.blueprints('pages/'~modular~'raw'), data: context } %}
|
||||
{% endif %}
|
||||
</div>
|
||||
{% else %}
|
||||
|
||||
Reference in New Issue
Block a user