Skip to content

Commit

Permalink
Better handling of offline/intranet mode when the repository index is…
Browse files Browse the repository at this point in the history
… missing. Faster admin. (fixes #1916)
  • Loading branch information
w00fz committed Nov 20, 2020
1 parent 263a968 commit e6c5afb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -11,6 +11,7 @@
* Remember the open state of the sidebar [#1973](https://github.com/getgrav/grav-plugin-admin/issues/1973)
* Upgraded node dependencies to latest version. Improved speed of JS compilation.
* Added modal to confirm updating Grav as well as cool down counter before enabling Update button [#1257](https://github.com/getgrav/grav-plugin-admin/issues/1257)
* Better handling of offline/intranet mode when the repository index is missing. Faster admin. [#1916](https://github.com/getgrav/grav-plugin-admin/issues/1916)
1. [](#bugfix)
* Fixed Safari issue with new ACL picker field [#1955](https://github.com/getgrav/grav-plugin-admin/issues/1955)
* Stop propagation of ACL add button in ACL picker [flex-objects#83](https://github.com/trilbymedia/grav-plugin-flex-objects/issues/83)
Expand Down
2 changes: 1 addition & 1 deletion themes/grav/templates/partials/plugin-data.html.twig
Expand Up @@ -64,7 +64,7 @@
</tr>
{% endif %}

{% if admin.gpm.findPackage(plugin.slug).changelog %}
{% if admin.gpm.findPackage(plugin.slug, true).changelog %}
<tr>
<td>{{ "PLUGIN_ADMIN.CHANGELOG"|tu }}:</td>
<td class="double"><a class="button button-small" href="#" data-remodal-target="changelog" data-remodal-changelog="{{ admin_route('/changelog/slug:' ~ plugin.slug) }}"><i class="fa fa-binoculars"></i> View Changelog</a></td>
Expand Down
2 changes: 1 addition & 1 deletion themes/grav/templates/partials/themes-details.html.twig
Expand Up @@ -96,7 +96,7 @@
</tr>
{% endif %}

{% if admin.gpm.findPackage(theme.slug).changelog %}
{% if admin.gpm.findPackage(theme.slug, true).changelog %}
<tr>
<td>{{ "PLUGIN_ADMIN.CHANGELOG"|tu }}:</td>
<td class="double"><a class="button button-small" href="#" data-remodal-target="changelog" data-remodal-changelog="{{ admin_route('/changelog/slug:' ~ theme.slug) }}"><i class="fa fa-binoculars"></i> View Changelog</a></td>
Expand Down

0 comments on commit e6c5afb

Please sign in to comment.