mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2026-05-06 23:56:04 +02:00
Merge branch 'release/0.2.0' into develop
This commit is contained in:
28
CHANGELOG.md
28
CHANGELOG.md
@@ -1,3 +1,31 @@
|
||||
# v0.2.0
|
||||
## 08/06/2015
|
||||
|
||||
1. [](#new)
|
||||
* Added multiple **clear cache** types
|
||||
* Added back to themes link when adding new themes
|
||||
* Properly handles visibility and ordering and guesses best option on new
|
||||
* Added new templates field with support for custom (unsupported) template type
|
||||
* Added new display field for displaying simple text value
|
||||
* **Update Grav** button now works
|
||||
* Added spanish translation
|
||||
* Added german translation
|
||||
1. [](#improved)
|
||||
* Improved page order handling logic
|
||||
* Implemented 2-step theme switching logic with warning
|
||||
* Force `modular` page class for modular template
|
||||
* Clear page cache on page delete (ghost pages still showing)
|
||||
* Clears route on page save so changes such as `slug` are picked up
|
||||
* Fix dashboard layout in Safari
|
||||
* Added tooltips for official 'Team Grav' themes/plugins
|
||||
1. [](#bugfix)
|
||||
* Handle modular page templates on create
|
||||
* Fixed Firefox JS error for arrays
|
||||
* Ensure we don't change page type to empty and save (causing page to be deleted)
|
||||
* Fixed some minor CSS issues with editor
|
||||
* Fixed link to RocketTheme.com
|
||||
* Disabled fields now stay properly disabled
|
||||
|
||||
# v0.1.1
|
||||
## 08/04/2015
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
name: Admin Panel
|
||||
version: 0.1.1
|
||||
version: 0.2.0
|
||||
description: Adds an advanced administration panel to manage your site
|
||||
icon: empire
|
||||
author:
|
||||
|
||||
@@ -879,7 +879,9 @@ class AdminController
|
||||
|
||||
// Always redirect if a page route was changed, to refresh it
|
||||
if ($obj instanceof Page\Page) {
|
||||
$obj->unsetRoute();
|
||||
if (method_exists($obj, 'unsetRoute')) {
|
||||
$obj->unsetRoute();
|
||||
}
|
||||
$this->setRedirect($this->view . $obj->route());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user