From 6b7edf6ef26ab2537cb47eba1d24040ad6273934 Mon Sep 17 00:00:00 2001 From: Flavio Copes Date: Thu, 24 Nov 2016 13:51:21 +0100 Subject: [PATCH] Update class namespace for Admin class [#874](https://github.com/getgrav/grav-plugin-admin/issues/874) --- CHANGELOG.md | 8 +++++++- blueprints/admin/pages/modular_new.yaml | 2 +- blueprints/admin/pages/modular_raw.yaml | 2 +- blueprints/admin/pages/move.yaml | 2 +- blueprints/admin/pages/new.yaml | 4 ++-- blueprints/admin/pages/new_folder.yaml | 2 +- blueprints/admin/pages/raw.yaml | 2 +- 7 files changed, 14 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c528f1d34..d7868248d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +# v1.2.x +## 11/xx/2016 + +1. [](#bugfix) + * Update class namespace for Admin class [#874](https://github.com/getgrav/grav-plugin-admin/issues/874) + # v1.2.5-rc.2 ## 11/19/2016 @@ -19,7 +25,7 @@ * Use rawRoute for parent too when saving [#843](https://github.com/getgrav/grav-plugin-admin/issues/843) * Avoid different output when users exist or not in password recovery [#849](https://github.com/getgrav/grav/issues/849) * Fix login to admin with permission inherited from group [#857](https://github.com/getgrav/grav-plugin-admin/issues/857) - + # v1.2.4 ## 10/22/2016 diff --git a/blueprints/admin/pages/modular_new.yaml b/blueprints/admin/pages/modular_new.yaml index 57ede83e8..8c19d8960 100644 --- a/blueprints/admin/pages/modular_new.yaml +++ b/blueprints/admin/pages/modular_new.yaml @@ -30,7 +30,7 @@ form: label: PLUGIN_ADMIN.PAGE classes: fancy data-options@: '\Grav\Common\Page\Pages::parentsRawRoutes' - data-default@: '\Grav\Plugin\admin::rawRoute' + data-default@: '\Grav\Plugin\Admin\Admin::rawRoute' validate: required: true diff --git a/blueprints/admin/pages/modular_raw.yaml b/blueprints/admin/pages/modular_raw.yaml index 6e71eaa13..8e4647989 100644 --- a/blueprints/admin/pages/modular_raw.yaml +++ b/blueprints/admin/pages/modular_raw.yaml @@ -79,7 +79,7 @@ form: label: PLUGIN_ADMIN.PARENT classes: fancy data-options@: '\Grav\Common\Page\Pages::parentsRawRoutes' - data-default@: '\Grav\Plugin\admin::rawRoute' + data-default@: '\Grav\Plugin\Admin\Admin::rawRoute' options: '': PLUGIN_ADMIN.DEFAULT_OPTION_SELECT validate: diff --git a/blueprints/admin/pages/move.yaml b/blueprints/admin/pages/move.yaml index 5fda52fd2..518f21828 100644 --- a/blueprints/admin/pages/move.yaml +++ b/blueprints/admin/pages/move.yaml @@ -12,6 +12,6 @@ form: label: PLUGIN_ADMIN.PARENT classes: fancy data-options@: '\Grav\Common\Page\Pages::parentsRawRoutes' - data-default@: '\Grav\Plugin\admin::rawRoute' + data-default@: '\Grav\Plugin\Admin\Admin::rawRoute' options: '/': PLUGIN_ADMIN.DEFAULT_OPTION_ROOT diff --git a/blueprints/admin/pages/new.yaml b/blueprints/admin/pages/new.yaml index 0b2fe75fc..71ca78a81 100644 --- a/blueprints/admin/pages/new.yaml +++ b/blueprints/admin/pages/new.yaml @@ -32,7 +32,7 @@ form: label: PLUGIN_ADMIN.PARENT_PAGE classes: fancy data-options@: '\Grav\Common\Page\Pages::parentsRawRoutes' - data-default@: '\Grav\Plugin\admin::getLastPageRoute' + data-default@: '\Grav\Plugin\Admin\Admin::getLastPageRoute' options: '/': PLUGIN_ADMIN.DEFAULT_OPTION_ROOT validate: @@ -44,7 +44,7 @@ form: label: PLUGIN_ADMIN.PAGE_FILE help: PLUGIN_ADMIN.PAGE_FILE_HELP data-options@: '\Grav\Common\Page\Pages::types' - data-default@: '\Grav\Plugin\admin::getLastPageName' + data-default@: '\Grav\Plugin\Admin\Admin::getLastPageName' validate: required: true diff --git a/blueprints/admin/pages/new_folder.yaml b/blueprints/admin/pages/new_folder.yaml index c4fe96165..ddf47a97d 100644 --- a/blueprints/admin/pages/new_folder.yaml +++ b/blueprints/admin/pages/new_folder.yaml @@ -25,7 +25,7 @@ form: label: PLUGIN_ADMIN.PARENT_PAGE classes: fancy data-options@: '\Grav\Common\Page\Pages::parentsRawRoutes' - data-default@: '\Grav\Plugin\admin::getLastPageRoute' + data-default@: '\Grav\Plugin\Admin\Admin::getLastPageRoute' options: '/': PLUGIN_ADMIN.DEFAULT_OPTION_ROOT validate: diff --git a/blueprints/admin/pages/raw.yaml b/blueprints/admin/pages/raw.yaml index fe5dba2fe..3b582eb14 100644 --- a/blueprints/admin/pages/raw.yaml +++ b/blueprints/admin/pages/raw.yaml @@ -79,7 +79,7 @@ form: label: PLUGIN_ADMIN.PARENT classes: fancy data-options@: '\Grav\Common\Page\Pages::parentsRawRoutes' - data-default@: '\Grav\Plugin\admin::rawRoute' + data-default@: '\Grav\Plugin\Admin\Admin::rawRoute' options: '/': PLUGIN_ADMIN.DEFAULT_OPTION_ROOT