diff --git a/README.md b/README.md index f1ade979..ed2df862 100644 --- a/README.md +++ b/README.md @@ -32,9 +32,9 @@ This **admin plugin** for [Grav](http://github.com/getgrav/grav) is an HTML user We have tested internally, but we hope to use this public beta phase to identify, isolate, and fix issues related to the plugin to ensure it is as solid and reliable as possible. -For **live chatting**, please use the dedicated [Gitter Chat Room for the admin plugin](https://gitter.im/grav/grav-plugin-admin) for dicussions directly related to the admin plugin. +For **live chatting**, please use the dedicated [Gitter Chat Room for the admin plugin](https://gitter.im/getgrav/grav-plugin-admin) for dicussions directly related to the admin plugin. -For **bugs, features, improvements**, please ensure you [create issues in the admin plugin GitHub repository](https://github.com/grav/grav-plugin-admin). +For **bugs, features, improvements**, please ensure you [create issues in the admin plugin GitHub repository](https://github.com/getgrav/grav-plugin-admin). # Installation @@ -46,7 +46,7 @@ $ bin/gpm install admin # Usage -Upon completion of the installation the next thing you need to do is create a user account in a file called `users/accounts/admin.yaml`: +Upon completion of the installation the next thing you need to do is create a user account in a file called `user/accounts/admin.yaml`: ``` username: admin diff --git a/admin.php b/admin.php index 011cd010..5ce62c00 100644 --- a/admin.php +++ b/admin.php @@ -229,7 +229,6 @@ class AdminPlugin extends Plugin public function onShutdown() { // Just so we know that we're in this debug mode - echo 'system.debugger.shutdown.close_connection = false'; if ($this->config->get('plugins.admin.popularity.enabled')) { // Only track non-admin diff --git a/blueprints.yaml b/blueprints.yaml index 33a1628d..c5d9baf9 100644 --- a/blueprints.yaml +++ b/blueprints.yaml @@ -1,4 +1,4 @@ -name: Administration Panel - Standard +name: Admin Panel version: 0.1.0 description: Adds an advanced administration panel to manage your site icon: empire diff --git a/themes/grav/templates/partials/base.html.twig b/themes/grav/templates/partials/base.html.twig index c8ee2fed..d79d5fa4 100644 --- a/themes/grav/templates/partials/base.html.twig +++ b/themes/grav/templates/partials/base.html.twig @@ -92,7 +92,7 @@ {% block content %}{% endblock %} {% if config.plugins.admin.show_beta_msg %} -
{{ 'ADMIN_REPORT_ISSUE'|t }}
+
{{ 'ADMIN_REPORT_ISSUE'|t }}
{% endif %} {% block content_bottom %}{% endblock %} diff --git a/themes/grav/templates/partials/plugins-list.html.twig b/themes/grav/templates/partials/plugins-list.html.twig index 99f09260..645dc2bd 100644 --- a/themes/grav/templates/partials/plugins-list.html.twig +++ b/themes/grav/templates/partials/plugins-list.html.twig @@ -24,7 +24,7 @@ v{{ plugin.version }} - {% if (not installing and plugin.form.fields.enabled) %} + {% if (not installing and plugin.form.fields.enabled and (plugin.form.fields.enabled.type != 'hidden')) %}