Remove outer link from teaserbox to allow nested links
This commit is contained in:
+5
-3
@@ -8,7 +8,7 @@
|
||||
<f:for each="{feeds}" as="feed">
|
||||
<f:if condition="{feed.image} and {feed.message}">
|
||||
<div class="col-md-3">
|
||||
<f:link.typolink class="teaserbox teaserbox--social" parameter="{feed.postUrl}" target="_blank" title="{feed.title}">
|
||||
<div class="teaserbox teaserbox--social">
|
||||
<div class="teaserbox__image teaserbox__image--social-media" style="background-image: url({feed.image})">
|
||||
<f:switch expression="{feed.configuration.token.socialType}">
|
||||
<f:case value="1">
|
||||
@@ -27,8 +27,10 @@
|
||||
<p>{feed.postDate -> f:format.date(format: 'd.m.Y')} @{feed.configuration.name}</p>
|
||||
<f:format.raw>{feed.decodedMessage -> f:format.crop(maxCharacters: '120') -> pxa:parseMessage(type: feed.configuration.token.type) -> f:format.nl2br()}</f:format.raw>
|
||||
</div>
|
||||
<button class="button button--full teaserbox__button">{f:translate(key: 'tx_eptheme.label.teaserbutton.to_post', extensionName: 'ep_theme')}</button>
|
||||
</f:link.typolink>
|
||||
<f:link.typolink class="teaserbox teaserbox--social" parameter="{feed.postUrl}" target="_blank" title="{feed.title}">
|
||||
<button class="button button--full teaserbox__button">{f:translate(key: 'tx_eptheme.label.teaserbutton.to_post', extensionName: 'ep_theme')}</button>
|
||||
</f:link.typolink>
|
||||
</div>
|
||||
</div>
|
||||
</f:if>
|
||||
</f:for>
|
||||
|
||||
Reference in New Issue
Block a user