From a1cd84b415c8a32684798b0839e19299a11c8713 Mon Sep 17 00:00:00 2001 From: Daniel Seifert Date: Thu, 29 Jul 2021 17:31:15 +0200 Subject: [PATCH] can handle long task description text --- Application/views/admin/tpl/inc/Wizards.tpl | 17 ++++++++++++++--- CHANGELOG.md | 11 +++++++++++ metadata.php | 2 +- 3 files changed, 26 insertions(+), 4 deletions(-) diff --git a/Application/views/admin/tpl/inc/Wizards.tpl b/Application/views/admin/tpl/inc/Wizards.tpl index cc180a6..96ae215 100644 --- a/Application/views/admin/tpl/inc/Wizards.tpl +++ b/Application/views/admin/tpl/inc/Wizards.tpl @@ -79,9 +79,20 @@
[{if $item->getDescription()}] -

- [{$item->getDescription()}] -

+ [{assign var="description" value=$item->getDescription()}] + [{assign var="sectionlength" value="100"}] + + [{if $description|count_characters:true <= $sectionlength}] +

[{$description}]

+ [{else}] + [{assign var="shorttext" value=$description|truncate:$sectionlength:''}] + +

+ ...[{$description|replace:$shorttext:''}] +

+ [{/if}] [{/if}] [{if $item->hasFormElements()}] diff --git a/CHANGELOG.md b/CHANGELOG.md index 8937492..12bf8d0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,15 +1,26 @@ # Changelog +## 1.3.0.0 (2021-07-29) + +- can handle long task description text +- has more generic admin controller templates + +--- + ## 1.2.0.0 (2021-07-27) - adjustments for CLI extension - fix OXID 6.1 incompatibilities +--- + ## 1.1.0.0 (2021-06-25) - implement form builder - fix key figures export +--- + ## 1.0.0.0 (2021-06-22) - initial implementation \ No newline at end of file diff --git a/metadata.php b/metadata.php index f142459..3616b74 100644 --- a/metadata.php +++ b/metadata.php @@ -32,7 +32,7 @@ $aModule = [ 'en' => '', ], 'thumbnail' => '', - 'version' => '1.2.0.0', + 'version' => '1.3.0.0', 'author' => 'D³ Data Development (Inh.: Thomas Dartsch)', 'email' => 'support@shopmodule.com', 'url' => 'https://www.oxidmodule.com/',