-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
location-details.html
23 lines (18 loc) · 1.49 KB
/
location-details.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<sly data-sly-use.component="design.aem.models.v2.details.LocationDetails"
data-sly-use.variant="${component.componentProperties.variantTemplate}"
data-sly-use.badge="${component.componentProperties.componentBadgeTemplate}"
data-sly-use.background="aemdesign/global/templates/component-background.html"
data-sly-use.info="aemdesign/global/templates/component-info.html">
<!--/* print component background if not badge being requested */-->
<sly data-sly-test="${!component.componentProperties.componentBadgeSelected}"
data-sly-call="${background.variant @ componentId=component.componentProperties.componentId, assets=component.componentProperties.bgimage.componentBackgroundAssets}"></sly>
<!--/* print component variant if not badge being requested */-->
<sly data-sly-test="${!component.componentProperties.componentBadgeSelected}"
data-sly-call="${variant.variant @ componentProperties=component.componentProperties}"></sly>
<!--/* print component info in edit mode if not badge being requested */-->
<sly data-sly-test="${!component.componentProperties.componentBadgeSelected}"
data-sly-call="${info.variant @ componentProperties=component.componentProperties, component=component}"></sly>
<!--/* print component badge if badge being requested */-->
<sly data-sly-test="${component.componentProperties.componentBadgeSelected}"
data-sly-call="${badge.variant @ componentProperties=component.componentProperties}"></sly>
</sly>