fix: don't show popup unless configured
This commit is contained in:
@@ -79,7 +79,7 @@
|
|||||||
<f:section name="TeaserContent">
|
<f:section name="TeaserContent">
|
||||||
{f:variable(name: 'including', value: '{f:render(section: \'Including\', arguments: \'{_all}\') -> v:format.trim()}')}
|
{f:variable(name: 'including', value: '{f:render(section: \'Including\', arguments: \'{_all}\') -> v:format.trim()}')}
|
||||||
<a href="{targetUrl}"
|
<a href="{targetUrl}"
|
||||||
<f:if condition="{concept.popupText} && {globalConceptCode} != {concept.code}">
|
<f:if condition="{concept.popupText} && {settings.globalConceptCode} != {concept.code}">
|
||||||
hx-get="{ep:uri.ajax(action: 'concept', controller: 'AjaxTeaserPopup', arguments: '{concept: concept.uid, targetUrl: targetUrl}', format: 'html', pageUid: settings.defaultAjaxUid)}"
|
hx-get="{ep:uri.ajax(action: 'concept', controller: 'AjaxTeaserPopup', arguments: '{concept: concept.uid, targetUrl: targetUrl}', format: 'html', pageUid: settings.defaultAjaxUid)}"
|
||||||
hx-target="body"
|
hx-target="body"
|
||||||
hx-swap="beforeend"
|
hx-swap="beforeend"
|
||||||
|
|||||||
Reference in New Issue
Block a user