1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-24 05:43:10 +02:00

- Flextype Admin Panel: Left Navigation - active state for Templates area - fixed. #182

This commit is contained in:
Awilum
2019-07-06 17:43:09 +03:00
parent 977e3e3a8c
commit ce6e209ae9

View File

@@ -79,7 +79,7 @@ class TemplatesController extends Controller
$response,
'plugins/admin/views/templates/extends/themes/templates/add.html',
[
'menu_item' => 'templates',
'menu_item' => 'themes',
'theme' => $theme,
'links' => [
'themes' => [
@@ -153,7 +153,7 @@ class TemplatesController extends Controller
$response,
'plugins/admin/views/templates/extends/themes/templates/edit.html',
[
'menu_item' => 'templates',
'menu_item' => 'themes',
'theme' => $theme,
'id' => $request->getQueryParams()['id'],
'data' => Filesystem::read(PATH['themes'] . '/' . $theme . '/' . $this->_type_location($type) . $request->getQueryParams()['id'] . '.html'),
@@ -227,7 +227,7 @@ class TemplatesController extends Controller
$response,
'plugins/admin/views/templates/extends/themes/templates/rename.html',
[
'menu_item' => 'templates',
'menu_item' => 'themes',
'theme' => $theme,
'types' => ['partial' => __('admin_partial'), 'template' => __('admin_template')],
'id_current' => $request->getQueryParams()['id'],