From 8fdfb82cdc0468e7233861dcfbb70ac1f8d28b3f Mon Sep 17 00:00:00 2001 From: "michael.daniel" <michael@pcsg.de> Date: Mon, 18 Feb 2019 10:30:30 +0100 Subject: [PATCH] feat: CountUpBasic --> title and content will be displayed. --- .../Controls/CountUpBasic.Simple.html | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/QUI/PresentationBricks/Controls/CountUpBasic.Simple.html b/src/QUI/PresentationBricks/Controls/CountUpBasic.Simple.html index 84c9801..b3d494b 100644 --- a/src/QUI/PresentationBricks/Controls/CountUpBasic.Simple.html +++ b/src/QUI/PresentationBricks/Controls/CountUpBasic.Simple.html @@ -1,3 +1,16 @@ +{if $this->getAttribute('showTitle') && $this->getAttribute('frontendTitle')} +<header class="control-header"> + <h1>{$this->getAttribute('frontendTitle')}</h1> +</header> +{/if} + +{if $this->getAttribute('content') != ""} +<div class="control-content"> + {$this->getAttribute('content')} +</div> +{/if} + + <div class="countUpBasic-wrapper"> {foreach from=$entries item=entry key=key} -- GitLab