fix: don't open teaser popup on target page
This commit is contained in:
@@ -53,6 +53,7 @@ plugin.tx_epproducts {
|
||||
groupInquiryFormConceptUids = {$plugin.tx_epproducts.settings.groupInquiryFormConceptUids}
|
||||
logoImage = {$plugin.tx_eptheme.settings.logoImage}
|
||||
themekey = {$plugin.tx_eptheme.settings.themekey}
|
||||
globalConceptCode = {$plugin.tx_eptheme.settings.globalConceptCode}
|
||||
datePickerPresets {
|
||||
1 {
|
||||
label = Silvester
|
||||
|
||||
@@ -132,6 +132,8 @@ plugin.tx_eptheme {
|
||||
hideAreaNavigation = 0
|
||||
# cat=eptheme/500/170; type=boolean; label=Hide searchbar
|
||||
hideSearchbar = 0
|
||||
# cat=eptheme/500/180; type=string; label=Global concept code
|
||||
globalConceptCode =
|
||||
|
||||
# cat=eptheme/800/100; type=boolean; label=Show 'skipass inklusive' badge
|
||||
showSkipassBadge = 1
|
||||
|
||||
@@ -73,6 +73,7 @@ plugin.tx_eptheme {
|
||||
englishPageUid = {$plugin.tx_eptheme.settings.englishPageUid}
|
||||
germanPageUid = {$plugin.tx_eptheme.settings.germanPageUid}
|
||||
conceptsPageUid = {$plugin.tx_eptheme.settings.conceptsPageUid}
|
||||
globalConceptCode = {$plugin.tx_eptheme.settings.globalConceptCode}
|
||||
travelAlertPageUid = {$plugin.tx_eptheme.settings.travelAlertPageUid}
|
||||
myEpPageUid = {$plugin.tx_eptheme.settings.myEpPageUid}
|
||||
myEpApiEndpointUrl = {$plugin.tx_eptheme.settings.myEpApiEndpointUrl}
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<f:section name="TeaserImage">
|
||||
<div class="relative{f:if(condition: landscape, then: ' sm:w-2/5')}">
|
||||
<a href="{ep:uri.product(forceHotelUid: forceHotelUid, product: product, hotel: hotel, dateFrom: dateFrom, dateTo: dateTo, ref: referringPageUri)}"
|
||||
<f:if condition="{concept.popupText}">
|
||||
<f:if condition="{concept.popupText} && {settings.globalConceptCode} != {concept.code}">
|
||||
data-controller="teaser-popup"
|
||||
data-teaser-popup-text-value="{concept.popupText}"
|
||||
data-teaser-popup-teaser-popup-modal-outlet="#teaser-popup-modal"
|
||||
@@ -79,7 +79,7 @@
|
||||
<f:section name="TeaserContent">
|
||||
{f:variable(name: 'including', value: '{f:render(section: \'Including\', arguments: \'{_all}\') -> v:format.trim()}')}
|
||||
<a href="{ep:uri.product(forceHotelUid: forceHotelUid, product: product, hotel: hotel, dateFrom: dateFrom, dateTo: dateTo, ref: referringPageUri)}"
|
||||
<f:if condition="{concept.popupText}">
|
||||
<f:if condition="{concept.popupText} && {globalConceptCode} != {concept.code}">
|
||||
data-controller="teaser-popup"
|
||||
data-teaser-popup-text-value="{concept.popupText}"
|
||||
data-teaser-popup-teaser-popup-modal-outlet="#teaser-popup-modal"
|
||||
|
||||
@@ -52,7 +52,8 @@
|
||||
dateFrom: dateFrom,
|
||||
dateTo: dateTo,
|
||||
new: teaser.new,
|
||||
index: iteration.index
|
||||
index: iteration.index,
|
||||
globalConceptCode: settings.globalConceptCode
|
||||
}"/>
|
||||
</f:for>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user