From e6138debf60fa5376c86b9d76d852c8ef371e607 Mon Sep 17 00:00:00 2001 From: Andy Miller Date: Thu, 5 Dec 2019 22:12:52 -0700 Subject: [PATCH] =?UTF-8?q?Support=20for=20Grav=20changelog=20in=20?= =?UTF-8?q?=E2=80=98info=E2=80=99=20panel?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 2 +- themes/grav/templates/config.html.twig | 4 ++++ themes/grav/templates/partials/themes-details.html.twig | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1c962922..554d95cf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ ## mm/dd/2019 1. [](#new) - * Added ability to display **Changelogs** for `Plugins` and `Themes` + * Added ability to display **Changelogs** for `Grav`, `Plugins` and `Themes` # v1.10.0-rc.2 ## 12/04/2019 diff --git a/themes/grav/templates/config.html.twig b/themes/grav/templates/config.html.twig index 2f4d14dd..cc8ca143 100644 --- a/themes/grav/templates/config.html.twig +++ b/themes/grav/templates/config.html.twig @@ -81,6 +81,9 @@ {% if authorize(['admin.configuration_' ~ config_slug, 'admin.super']) %} {% if isInfo %}
+
+ View Grav Changelog +
{{ admin.phpinfo|raw }}
{% else %} @@ -90,4 +93,5 @@ {% endif %} {% endif %} {% include 'partials/modal-changes-detected.html.twig' %} + {% include 'partials/modal-changelog.html.twig' %} {% endblock %} diff --git a/themes/grav/templates/partials/themes-details.html.twig b/themes/grav/templates/partials/themes-details.html.twig index a1177db5..4d3ef714 100644 --- a/themes/grav/templates/partials/themes-details.html.twig +++ b/themes/grav/templates/partials/themes-details.html.twig @@ -125,4 +125,4 @@ {% include 'partials/modal-add-package.html.twig' with { type: 'theme' } %} {% include 'partials/modal-update-packages.html.twig' with { type: 'theme' } %} {% include 'partials/modal-reinstall-package.html.twig' with { type: 'theme', package: theme } %} -{% include 'partials/modal-changelog.html.twig' with { package: plugin} %} +{% include 'partials/modal-changelog.html.twig' with { package: theme} %}