Services - Brink's US
Services Home Page 2.0
Şablon işlenirken bir hata oluştu.
The following has evaluated to null or missing: ==> cur_headerEyebrow.headerImage [in template "20101#20128#SERVICES_HOME" at line 7, column 22] ---- Tip: It's the step after the last dot that caused this error, not those before it. ---- Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: #if cur_headerEyebrow.headerImage.get... [in template "20101#20128#SERVICES_HOME" at line 7, column 17] ----
1<#-- Carousel -->
2<#if headerEyebrow.getSiblings()?has_content>
3 <div class="owl-carousel owl-theme carousel" id="home_carousel">
4 <#list headerEyebrow.getSiblings() as cur_headerEyebrow>
5 <div class="item">
6 <#assign background = "">
7 <#if cur_headerEyebrow.headerImage.getData()?? && cur_headerEyebrow.headerImage.getData()?has_content>
8 <#assign background = "background:url(" + cur_headerEyebrow.headerImage.getData() + ") no-repeat center center;-webkit-background-size: cover;-moz-background-size: cover;-o-background-size: cover;background-size: cover;" />
9 </#if>
10 <div class="image-background fixed-height" style="${background}">
11 <div class="background-overlay medium"></div>
12 <div class="page-width">
13 <div class="content align-top">
14
15 <@liferay_portlet["runtime"]
16 defaultPreferences=""
17 portletProviderAction=portletProviderAction.VIEW
18 instanceId="new"
19 portletName="com_liferay_site_navigation_breadcrumb_web_portlet_SiteNavigationBreadcrumbPortlet"
20 />
21
22 <#if cur_headerEyebrow.headerTitle.getData()?? && cur_headerEyebrow.headerTitle.getData() != "">
23 <h2>${cur_headerEyebrow.headerTitle.getData()}</h2>
24 </#if>
25 <#if cur_headerEyebrow.headerBody.getData()?? && cur_headerEyebrow.headerBody.getData() != "">
26 <p>${cur_headerEyebrow.headerBody.getData()}</p>
27 </#if>
28 <#if cur_headerEyebrow.ctaURL.getData()?? && cur_headerEyebrow.ctaURL.getData() != "" && cur_headerEyebrow.ctaButton.getData()?? && cur_headerEyebrow.ctaButton.getData() != "" >
29 <div class="button-holder">
30 <a class="btn-brinks btn-blue btn-link" href="${cur_headerEyebrow.ctaURL.getData()}">${cur_headerEyebrow.ctaButton.getData()}</a>
31 </div>
32 </#if>
33 </div>
34 </div>
35 </div>
36 </div>
37 </#list>
38 </div>
39</#if>
40
41
42<#-- Overview module -->
43<#if moduleEyebrow.getData()?has_content || moduleTitle.getData()?has_content || moduleBody.getData()?has_content>
44 <div class="component-white">
45 <div class="page-width spacing-extralarge">
46 <div class="overview-section">
47 <div class="row">
48 <#if moduleEyebrow.getData()?? && moduleEyebrow.getData() != "">
49 <div class="col-md-12">
50 <h3 class="eyebrow">${moduleEyebrow.getData()}</h3>
51 </div>
52 </#if>
53 <div class="col-md-6">
54 <#if moduleTitle.getData()?? && moduleTitle.getData() != "">
55 <h2 class="headline">${moduleTitle.getData()}</h2>
56 </#if>
57 </div>
58
59 <div class="col-md-6">
60 <#if moduleBody.getData()?? && moduleBody.getData() != "">
61 <p class="overview">${moduleBody.getData()}</p>
62 </#if>
63 </div>
64 </div>
65 </div>
66 </div>
67 </div>
68</#if>
69
70<#-- Embedded Service Sub Categories -->
71<#if browseOurServices.getData()?? && browseOurServices.getData() != "">
72 <div class="component-gray spacing-large">
73 <h2 class="text-center spacing-large pt-0">${browseOurServices.getData()}</h2>
74 <@liferay_portlet["runtime"]
75 defaultPreferences=""
76 portletProviderAction=portletProviderAction.VIEW
77 instanceId="service${.vars['reserved-article-id'].data}"
78 portletName="com_liferay_asset_publisher_web_portlet_AssetPublisherPortlet"
79 />
80 </div>
81</#if>
82
83<#-- Brink's Promo CTA -->
84<#if promoTitle.getData()?? && promoTitle.getData() != "" && promoBody.getData()?? && promoBody.getData() != "">
85<div class="component-white">
86 <div class="page-width spacing-large">
87 <div class="cta">
88 <div class="cta-content">
89 <h2>${promoTitle.getData()}</h2>
90 <p>${promoBody.getData()}</p>
91 <#if promoURL.getData()?? && promoURL.getData() != "" && promoCTAButton.getData()?? && promoCTAButton.getData() != "">
92 <a class="btn-brinks btn-link btn-blue" href="${promoURL.getData()}">${promoCTAButton.getData()}</a>
93 </#if>
94 </div>
95
96 <#if promoImage.getData()?? && promoImage.getData() != "">
97 <div class="cta-image">
98 <img alt="${promoImage.getAttribute("alt")}" data-fileentryid="${promoImage.getAttribute("fileEntryId")}" src="${promoImage.getData()}" />
99 </div>
100 </#if>
101 </div>
102 <div class="clearFix"></div>
103 </div>
104</div>
105</#if>
106
107<#-- Embedded costomer Logos -->
108<#if ourCustomers.getData()?? && ourCustomers.getData() != "">
109 <div class="component-darkgray spacing-large">
110 <h2 class="text-center spacing-large pt-0">${ourCustomers.getData()}</h2>
111 <@liferay_portlet["runtime"]
112 defaultPreferences=""
113 portletProviderAction=portletProviderAction.VIEW
114 instanceId="costomerLogo${.vars['reserved-article-id'].data}"
115 portletName="com_liferay_asset_publisher_web_portlet_AssetPublisherPortlet"
116 />
117 </div>
118</#if>
119
120
121<!-- Fact or Figure Cards -->
122<#if factOrFigureCard.getSiblings()[0].getData()?has_content>
123 <div class="component-white">
124 <div class="page-width spacing-large">
125 <div class="row fact-figure-cards-row">
126 <#list factOrFigureCard.getSiblings() as cur_factOrFigureCard>
127 <#if cur_factOrFigureCard.getData()?? && cur_factOrFigureCard.getData() != "">
128 <div class="col-2">
129 <img class="img-fluid" alt="${cur_factOrFigureCard.getAttribute("alt")}" data-fileentryid="${cur_factOrFigureCard.getAttribute("fileEntryId")}" src="${cur_factOrFigureCard.getData()}" />
130 </div>
131 </#if>
132 </#list>
133 </div>
134 </div>
135 </div>
136</#if>