mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-11-05 04:46:03 +01:00
Support for Grav changelog in ‘info’ panel
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -81,6 +81,9 @@
|
||||
{% if authorize(['admin.configuration_' ~ config_slug, 'admin.super']) %}
|
||||
{% if isInfo %}
|
||||
<div id="phpinfo">
|
||||
<div style="margin-left:1.5rem">
|
||||
<a class="button button-big" href="#" style="text-align: center;" data-remodal-target="changelog" data-remodal-changelog="{{ base_url_relative }}/changelog/type:plugins/slug:{{ plugin.slug }}"><i class="fa fa-binoculars"></i> View Grav Changelog</a>
|
||||
</div>
|
||||
{{ admin.phpinfo|raw }}
|
||||
</div>
|
||||
{% else %}
|
||||
@@ -90,4 +93,5 @@
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% include 'partials/modal-changes-detected.html.twig' %}
|
||||
{% include 'partials/modal-changelog.html.twig' %}
|
||||
{% endblock %}
|
||||
|
||||
@@ -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} %}
|
||||
|
||||
Reference in New Issue
Block a user