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} %}