diff --git a/bricks.xml b/bricks.xml index 70bf977393de7d073c6999a670245a6ee841b3a3..4623ee8c57287721a6a412d6d03e393571207559 100644 --- a/bricks.xml +++ b/bricks.xml @@ -43,6 +43,10 @@ var="brick.timeline.setting.order.inverted"/> </option> </setting> + + <setting name="showLinks" type="checkbox"> + <locale group="quiqqer/timeline" var="brick.timeline.setting.showLinks"/> + </setting> </settings> </brick> diff --git a/locale.xml b/locale.xml index b8838be47bea343e147a059e2515a7786a29e131..310e2f16f221478371d080e012bb2831bfe45901 100644 --- a/locale.xml +++ b/locale.xml @@ -80,6 +80,11 @@ <en><![CDATA[Inverted]]></en> </locale> + <locale name="brick.timeline.setting.showLinks"> + <de><![CDATA[Hyperlinks für jede Site anzeigen?]]></de> + <en><![CDATA[Show hyperlinks for each site?]]></en> + </locale> + </groups> <groups name="quiqqer/timeline" datatype="php"> diff --git a/src/QUI/Timeline/Bricks/Timeline.php b/src/QUI/Timeline/Bricks/Timeline.php index 131fe6875ad0c984aebd3bd21877aab6866914e6..f19e9a45beca632e0937e92da1a3cd558a456d33 100644 --- a/src/QUI/Timeline/Bricks/Timeline.php +++ b/src/QUI/Timeline/Bricks/Timeline.php @@ -48,6 +48,7 @@ public function getBody() $Control->setAttribute('parentInputList', $this->getAttribute('site')); $Control->setAttribute('imageFit', $this->getAttribute('image')); $Control->setAttribute('order', $this->getAttribute('order')); + $Control->setAttribute('showLinks', $this->getAttribute('showLinks')); $result = $Control->create();