mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-11-06 13:25:46 +01:00
Merge branch 'release/1.10.33.1'
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
# v1.10.33.1
|
||||||
|
## 04/25/2022
|
||||||
|
|
||||||
|
1. [](#bugfix)
|
||||||
|
* Reverted [PR#2265](https://github.com/getgrav/grav-plugin-admin/pull/2265) as it broke sections output.
|
||||||
|
|
||||||
# v1.10.33
|
# v1.10.33
|
||||||
## 04/25/2022
|
## 04/25/2022
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
name: Admin Panel
|
name: Admin Panel
|
||||||
slug: admin
|
slug: admin
|
||||||
type: plugin
|
type: plugin
|
||||||
version: 1.10.33
|
version: 1.10.33.1
|
||||||
description: Adds an advanced administration panel to manage your site
|
description: Adds an advanced administration panel to manage your site
|
||||||
icon: empire
|
icon: empire
|
||||||
author:
|
author:
|
||||||
|
|||||||
@@ -3,18 +3,17 @@
|
|||||||
{% block field %}
|
{% block field %}
|
||||||
{% if field.security is empty or authorize(array(field.security)) %}
|
{% if field.security is empty or authorize(array(field.security)) %}
|
||||||
|
|
||||||
{% embed 'forms/default/fields.html.twig' with {name: field.name, fields: field.fields} %}
|
|
||||||
{% block outer_markup_field_open %}
|
|
||||||
<div class="form-section {{ field.field_classes }} {{ field.outer_classes }}">
|
|
||||||
|
|
||||||
{% if field.title or field.underline %}
|
{% if field.title or field.underline %}
|
||||||
<h1 class="{{ field.classes }} {{ field.underline ?: 'no_underline' }}">{{ field.title|t }}</h1>
|
<h1 class="{{ field.classes }} {{ field.underline ?: 'no_underline' }}">{{ field.title|t }}</h1>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if field.text %}
|
{% if field.text %}
|
||||||
<div class="section-text">{{ field.text|t|markdown|raw }}</div>
|
<p>{{ field.text|t|markdown|raw }}</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
{% embed 'forms/default/fields.html.twig' with {name: field.name, fields: field.fields} %}
|
||||||
|
{% block outer_markup_field_open %}
|
||||||
|
<div class="form-section {{ field.field_classes }} {{ field.outer_classes }}">
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block outer_markup_field_close %}
|
{% block outer_markup_field_close %}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user