Skip to content

Commit

Permalink
Themes Admin 1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Awilum committed Aug 6, 2020
1 parent 7187132 commit 6dc9d26
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 272 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
<a name="1.2.0"></a>
# [1.2.0](https://github.com/flextype-plugins/themes-admin/compare/v1.1.0...v1.2.0) (2020-08-06)

### Refactor

* **core** moving Themes functionality to Site Plugin

<a name="1.1.0"></a>
# [1.1.0](https://github.com/flextype-plugins/themes-admin/compare/v1.0.6...v1.1.0) (2020-08-05)

Expand Down
258 changes: 0 additions & 258 deletions app/Models/Themes.php

This file was deleted.

13 changes: 0 additions & 13 deletions dependencies.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

use Flextype\Plugin\ThemesAdmin\Controllers\ThemesController;
use Flextype\Plugin\ThemesAdmin\Controllers\TemplatesController;
use Flextype\Plugin\ThemesAdmin\Models\Themes;

use Slim\Flash\Messages;
use Slim\Http\Environment;
Expand All @@ -24,18 +23,6 @@
// Add Admin Navigation
$flextype->registry->set('plugins.admin.settings.navigation.extends.themes', ['title' => __('themes_admin_themes'),'icon' => 'fas fa-palette', 'link' => $flextype->router->pathFor('admin.themes.index')]);

/**
* Add themes service to Flextype container
*/
$flextype['themes'] = static function ($container) use ($flextype, $app) {
return new Themes($flextype, $app);
};

/**
* Init themes
*/
$flextype['themes']->init($flextype, $app);

// Add ThemesController
$flextype['ThemesController'] = static function ($container) {
return new ThemesController($container);
Expand Down
2 changes: 1 addition & 1 deletion plugin.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Themes Admin
version: 1.1.0
version: 1.2.0
description: Themes Admin plugin to manage site themes for the website frontend.
icon: fas fa-paint-brush
author:
Expand Down

0 comments on commit 6dc9d26

Please sign in to comment.