From 99b28178c53aee8f789a4b343f99c1af30d65d1a Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sun, 7 Apr 2024 17:31:41 +0000 Subject: [PATCH] ui fixes --- Controller/ApiAttributeTraitController.php | 2 +- Controller/ApiController.php | 4 ++-- Theme/Backend/Components/attributes.tpl.php | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Controller/ApiAttributeTraitController.php b/Controller/ApiAttributeTraitController.php index 86ea546..00190a6 100644 --- a/Controller/ApiAttributeTraitController.php +++ b/Controller/ApiAttributeTraitController.php @@ -34,7 +34,7 @@ use phpOMS\Message\RequestAbstract; trait ApiAttributeTraitController { /** - * Method to create item attribute from request. + * Method to create Attribute from request. * * @param RequestAbstract $request Request * @param AttributeType $type Attribute type diff --git a/Controller/ApiController.php b/Controller/ApiController.php index 952b1d2..364e68b 100755 --- a/Controller/ApiController.php +++ b/Controller/ApiController.php @@ -42,7 +42,7 @@ use phpOMS\Message\ResponseAbstract; final class ApiController extends Controller { /** - * Api method to create item attribute + * Api method to create Attribute * * @param RequestAbstract $request Request * @param ResponseAbstract $response Response @@ -71,7 +71,7 @@ final class ApiController extends Controller } /** - * Method to create item attribute from request. + * Method to create Attribute from request. * * @param RequestAbstract $request Request * @param AttributeType $type Attribute type diff --git a/Theme/Backend/Components/attributes.tpl.php b/Theme/Backend/Components/attributes.tpl.php index 19e4bfa..c5b9652 100644 --- a/Theme/Backend/Components/attributes.tpl.php +++ b/Theme/Backend/Components/attributes.tpl.php @@ -88,8 +88,8 @@ $units = $this->units; getHtml('ID', '0', '0'); ?> getHtml('Type', 'Attribute', 'Backend'); ?>expand_lessexpand_more - getHtml('Value', 'Attribute', 'Backend'); ?>expand_lessexpand_more - getHtml('Name', 'Attribute', 'Backend'); ?>expand_lessexpand_more + getHtml('Value', 'Attribute', 'Backend'); ?>expand_lessexpand_more + getHtml('Name', 'Attribute', 'Backend'); ?>expand_lessexpand_more getHtml('Unit', 'Attribute', 'Backend'); ?>expand_lessexpand_more