diff --git a/.github/dev_bug_report.md b/.github/dev_bug_report.md deleted file mode 100644 index ef93e56..0000000 --- a/.github/dev_bug_report.md +++ /dev/null @@ -1,35 +0,0 @@ ---- -name: Dev Bug Report -about: Create a report to help us improve -title: '' -labels: stat_backlog, type_bug -assignees: '' - ---- - -# Bug Description -A clear and concise description of what the bug is. - -# How to Reproduce - -Steps to reproduce the behavior: - -1. Go to '...' -2. Click on '....' -3. Scroll down to '....' -4. See error - -## Minimal Code Example - -``` -// your code ... -``` - -# Expected Behavior -A clear and concise description of what you expected to happen. - -# Screenshots -If applicable, add screenshots to help explain your problem. - -# Additional Information -Add any other context about the problem here. diff --git a/.github/dev_feature_request.md b/.github/dev_feature_request.md deleted file mode 100644 index 9573c35..0000000 --- a/.github/dev_feature_request.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -name: Dev Feature Request -about: Suggest an idea for this project -title: '' -labels: stat_backlog, type_feature -assignees: '' - ---- - -# What is the feature you request -* A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] -* A clear and concise description of what you want to happen. - -# Alternatives -A clear and concise description of any alternative solutions or features you've considered. - -# Additional Information -Add any other context or screenshots about the feature request here. diff --git a/Admin/Install/Admin.install.json b/Admin/Install/Admin.install.json deleted file mode 100644 index fea552c..0000000 --- a/Admin/Install/Admin.install.json +++ /dev/null @@ -1,9 +0,0 @@ -[ - { - "type": "setting", - "name": "1005700001", - "content": "1", - "pattern": "", - "module": "Labeling" - } -] \ No newline at end of file diff --git a/Admin/Install/Admin.php b/Admin/Install/Admin.php deleted file mode 100644 index 1429948..0000000 --- a/Admin/Install/Admin.php +++ /dev/null @@ -1,43 +0,0 @@ - __DIR__ . '/Admin.install.json']); - } -} diff --git a/Admin/Installer.php b/Admin/Installer.php index 2e979dc..9b5bb68 100644 --- a/Admin/Installer.php +++ b/Admin/Installer.php @@ -76,7 +76,7 @@ final class Installer extends InstallerAbstract $layoutModels = []; /** @var \Modules\Labeling\Controller\ApiController $module */ - $module = $app->moduleManager->getModuleInstance('Labeling'); + $module = $app->moduleManager->get('Labeling'); $tempPath = __DIR__ . '/../../../temp/'; diff --git a/Controller/BackendController.php b/Controller/BackendController.php index c69e369..78a341a 100644 --- a/Controller/BackendController.php +++ b/Controller/BackendController.php @@ -29,6 +29,9 @@ use phpOMS\Views\View; * @license OMS License 2.0 * @link https://jingga.app * @since 1.0.0 + * + * @todo Create easy front end label editor (drag and drop, images, textareas, database values, ...) + * https://github.com/Karaka-Management/Karaka/issues/204 */ final class BackendController extends Controller { @@ -88,7 +91,7 @@ final class BackendController extends Controller ->with('files') ->with('files/types') ->where('l11n/language', $response->header->l11n->language) - ->where('l11n/type/title', ['name1', 'name2', 'name3'], 'IN') + ->where('l11n/type/title', ['name1', 'name2'], 'IN') ->where('files/types/name', 'item_profile_image') ->limit(50) ->execute(); @@ -121,7 +124,7 @@ final class BackendController extends Controller ->with('l11n/type') ->where('id', (int) $request->getData('id')) ->where('l11n/language', $response->header->l11n->language) - ->where('l11n/type/title', ['name1', 'name2', 'name3'], 'IN') + ->where('l11n/type/title', ['name1', 'name2'], 'IN') ->execute(); $view->data['item'] = $item; diff --git a/Theme/Backend/item-list.tpl.php b/Theme/Backend/item-list.tpl.php index d50209b..c3562ab 100644 --- a/Theme/Backend/item-list.tpl.php +++ b/Theme/Backend/item-list.tpl.php @@ -53,7 +53,7 @@ echo $this->data['nav']->render(); ?> -