1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-18 10:51:21 +02:00

Admin Panel: Themes #171 #165

- next round of implementation.
This commit is contained in:
Awilum
2019-06-26 00:36:04 +03:00
parent a8c83e3d38
commit e8b1871cd2

View File

@@ -232,6 +232,11 @@ class TemplatesController extends Controller
'id_current' => $request->getQueryParams()['id'],
'type_current' => (($request->getQueryParams()['type'] && $request->getQueryParams()['type'] == 'partial') ? 'partial' : 'template'),
'links' => [
'themes' => [
'link' => $this->router->pathFor('admin.themes.index'),
'title' => __('admin_themes'),
'attributes' => ['class' => 'navbar-item']
],
'templates' => [
'link' => $this->router->pathFor('admin.templates.index') . '?theme=' . $theme,
'title' => __('admin_templates'),