From dcf432214027721bf65864f23d84ae649d4ae0c3 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Fri, 15 Mar 2024 20:24:38 +0000 Subject: [PATCH] code fixes --- Controller/BackendController.php | 1 - Theme/Backend/Lang/Navigation.de.lang.php | 2 +- Theme/Backend/Lang/Navigation.en.lang.php | 2 +- Theme/Backend/contract-view.tpl.php | 2 +- 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Controller/BackendController.php b/Controller/BackendController.php index 1d6c4f6..5307040 100755 --- a/Controller/BackendController.php +++ b/Controller/BackendController.php @@ -182,7 +182,6 @@ final class BackendController extends Controller $view->data['units'] = UnitMapper::getAll() ->execute(); - /** @var \Modules\Attribute\Models\AttributeType[] */ $view->data['attributeTypes'] = ContractAttributeTypeMapper::getAll() ->with('l11n') ->where('l11n/language', $response->header->l11n->language) diff --git a/Theme/Backend/Lang/Navigation.de.lang.php b/Theme/Backend/Lang/Navigation.de.lang.php index 8220574..e31b510 100755 --- a/Theme/Backend/Lang/Navigation.de.lang.php +++ b/Theme/Backend/Lang/Navigation.de.lang.php @@ -13,7 +13,7 @@ declare(strict_types=1); return ['Navigation' => [ - 'Attributes' => 'Attribute', + 'Attributes' => 'Attribute', 'Contract' => 'Vertrag', 'ContractTypes' => 'Vertragsarten', 'Contracts' => 'Verträge', diff --git a/Theme/Backend/Lang/Navigation.en.lang.php b/Theme/Backend/Lang/Navigation.en.lang.php index ec21d29..19e246d 100755 --- a/Theme/Backend/Lang/Navigation.en.lang.php +++ b/Theme/Backend/Lang/Navigation.en.lang.php @@ -13,7 +13,7 @@ declare(strict_types=1); return ['Navigation' => [ - 'Attributes' => 'Attributes', + 'Attributes' => 'Attributes', 'Contract' => 'Contract', 'ContractTypes' => 'Types', 'Contracts' => 'Contracts', diff --git a/Theme/Backend/contract-view.tpl.php b/Theme/Backend/contract-view.tpl.php index fb5f6e3..f85dfbd 100644 --- a/Theme/Backend/contract-view.tpl.php +++ b/Theme/Backend/contract-view.tpl.php @@ -187,7 +187,7 @@ echo $this->data['nav']->render(); ?> data['children'] as $key => $value) : ++$count; $url = UriFactory::build('{/base}/contract/view?{?}&id=' . $value->id);