Total Cash Management - Brink's US
Total Cash Management
Во время обработки запрошенного шаблона произошла ошибка...
The following has evaluated to null or missing: ==> headerTitle.HeaderImage [in template "20101#20128#SERVICE_SUB-CATEGORY" at line 3, column 6] ---- 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 headerTitle.HeaderImage.getData()... [in template "20101#20128#SERVICE_SUB-CATEGORY" at line 3, column 1] ----
1<#-- Header -->
2<#assign background = "">
3<#if headerTitle.HeaderImage.getData()?? && headerTitle.HeaderImage.getData()?has_content>
4 <#assign background = "background:url(" + headerTitle.HeaderImage.getData() + ") no-repeat center center;-webkit-background-size: cover;-moz-background-size: cover;-o-background-size: cover;background-size: cover;" />
5</#if>
6<div class="image-background fixed-height" style="${background}">
7 <div class="background-overlay gradient"></div>
8 <div class="page-width">
9 <div class="content">
10
11 <@liferay_portlet["runtime"]
12 defaultPreferences=""
13 portletProviderAction=portletProviderAction.VIEW
14 instanceId="new"
15 portletName="com_liferay_site_navigation_breadcrumb_web_portlet_SiteNavigationBreadcrumbPortlet"
16 />
17
18 <#if headerTitle.getData()?? && headerTitle.getData() != "">
19 <h2>${headerTitle.getData()}</h2>
20 </#if>
21 <#if headerTitle.headerBody.getData()?? && headerTitle.headerBody.getData() != "">
22 <p>${headerTitle.headerBody.getData()}</p>
23 </#if>
24 <#if headerTitle.ctaURL.getData()?? && headerTitle.ctaURL.getData() != "" && headerTitle.ctaButton.getData()?? && headerTitle.ctaButton.getData() != "" >
25 <div class="button-holder">
26 <a class="btn-brinks btn-blue btn-link" href="${headerTitle.ctaURL.getData()}">${headerTitle.ctaButton.getData()}</a>
27 </div>
28 </#if>
29 </div>
30 </div>
31</div>
32
33<#-- Overview module -->
34<div class="component-white">
35 <div class="page-width spacing-extralarge">
36 <div class="alternating-section">
37 <div class="row">
38 <#if moduleEyebrow.getData()?? && moduleEyebrow.getData() != "">
39 <div class="col-md-12">
40 <h3 class="eyebrow">${moduleEyebrow.getData()}</h3>
41 </div>
42 </#if>
43 <#if videoURL?? && videoURL.getData()?? && videoURL.getData() != "" && videoURL.getData() != "!" >
44 <div class="col-md-6">
45 <#if moduleHeader.getData()?? && moduleHeader.getData() != "">
46 <h2 class="headline">${moduleHeader.getData()}</h2>
47 </#if>
48 <#if moduleBody.getData()?? && moduleBody.getData() != "">
49 <p class="overview">${moduleBody.getData()}</p>
50 </#if>
51 </div>
52 <div class="col-md-6">
53 <div class="embed-video">
54 <iframe src="${videoURL.getData()}" frameborder="0" allowfullscreen width="100%" height="315"></iframe>
55 </div>
56 </div>
57 <#elseif (moduleImage.getData())?? && moduleImage.getData() != "">
58 <div class="alternating-section-content col-md-6">
59 <#if moduleHeader.getData()?? && moduleHeader.getData() != "">
60 <h2 class="headline">${moduleHeader.getData()}</h2>
61 </#if>
62 <#if moduleBody.getData()?? && moduleBody.getData() != "">
63 <p class="overview">${moduleBody.getData()}</p>
64 </#if>
65 </div>
66 <div class="alternating-section-image col-md-6">
67 <img alt="${moduleImage.getAttribute("alt")}" data-fileentryid="${moduleImage.getAttribute("fileEntryId")}" src="${moduleImage.getData()}" />
68 </div>
69 <#else>
70 <div class="col-md-6">
71 <#if moduleHeader.getData()?? && moduleHeader.getData() != "">
72 <h2 class="headline">${moduleHeader.getData()}</h2>
73 </#if>
74 </div>
75 <div class="col-md-6">
76 <#if moduleBody.getData()?? && moduleBody.getData() != "">
77 <p class="overview">${moduleBody.getData()}</p>
78 </#if>
79 </div>
80 </#if>
81 </div>
82 </div>
83 </div>
84</div>
85
86<div class="brinks-service-industry-innovation">
87 <#-- Embedded Service ADT -->
88 <#if solutionIntro.getData()?? && solutionIntro.getData() != "" && solutionDescription.getData()?? && solutionDescription.getData() != "">
89 <div class="spacing-large page-width">
90 <h2 class="text-center"> ${solutionIntro.getData()}</h2>
91 <p class="text-center title-section-description">${solutionDescription.getData()}</p>
92 </div>
93 <div>
94 <div class="component-gray">
95 <div class="page-width">
96 <@liferay_portlet["runtime"]
97 defaultPreferences=""
98 portletProviderAction=portletProviderAction.VIEW
99 instanceId="solution${.vars['reserved-article-id'].data}"
100 portletName="com_liferay_asset_publisher_web_portlet_AssetPublisherPortlet"
101 />
102 </div>
103 </div>
104 </div>
105 <div class="clearFix"></div>
106 </#if>
107
108 <#-- Embedded Service ADT -->
109 <#if servicesIntro.getData()?? && servicesIntro.getData() != "" >
110 <h2 class="spacing-large text-center">${servicesIntro.getData()}</h2>
111 </#if>
112 <div>
113 <@liferay_portlet["runtime"]
114 defaultPreferences=""
115 portletProviderAction=portletProviderAction.VIEW
116 instanceId="service${.vars['reserved-article-id'].data}"
117 portletName="com_liferay_asset_publisher_web_portlet_AssetPublisherPortlet"
118 />
119 </div>
120 <div class="clearFix"></div>
121
122
123 <!-- Brink's Promo CTA -->
124 <#if promoTitle.getData()?? && promoTitle.getData() != "" && promoBody.getData()?? && promoBody.getData() != "">
125 <div class="component-white">
126 <div class="page-width spacing-large">
127 <div class="cta">
128 <div class="cta-content">
129 <h2>${promoTitle.getData()}</h2>
130 <p>${promoBody.getData()}</p>
131 <#if promoURL.getData()?? && promoURL.getData() != "" && promoCTAButton.getData()?? && promoCTAButton.getData() != "">
132 <a class="btn-brinks btn-link btn-blue" href="${promoURL.getData()}">${promoCTAButton.getData()}</a>
133 </#if>
134 </div>
135
136 <#if promoImage.getData()?? && promoImage.getData() != "">
137 <div class="cta-image">
138 <img alt="${promoImage.getAttribute("alt")}" data-fileentryid="${promoImage.getAttribute("fileEntryId")}" src="${promoImage.getData()}" />
139 </div>
140 </#if>
141 </div>
142 <div class="clearFix"></div>
143 </div>
144 </div>
145 </div>
146 </#if>
147<#-- Customer Testimonial -->
148<#if quote.getData()?? && quote.getData()?has_content && customerJobTitle.getData()?? && customerJobTitle.getData()?has_content && customerMugShot.getData()?? && customerMugShot.getData()?has_content>
149 <div class="component-white">
150 <div class="page-width spacing-large">
151 <div class="testimonial text-center">
152 <p class="eyebrow"><@liferay.language key="customer-testimonial" /></p>
153 <p class="quote">${quote.getData()}</p>
154 <p class="eyebrow regular">${customerJobTitle.getData()} <b>${customerCompanyName.getData()}</b></p>
155 <div role="img" aria-label="${customerMugShot.getAttribute('alt')}" class="image" style="background:url(${customerMugShot.getData()}) no-repeat center center;-webkit-background-size: cover;-moz-background-size: cover;-o-background-size: cover;background-size: cover;"></div>
156 </div>
157 </div>
158 </div>
159</#if>
160
161
162<!-- Fact or Figure -->
163
164<#if factText.getData()?? && factText.getData() != "">
165 ${factText.getData()}
166</#if>
167
168<#if factOrFigureImage.getData()?? && factOrFigureImage.getData() != "">
169 <img alt="${factOrFigureImage.getAttribute("alt")}" data-fileentryid="${factOrFigureImage.getAttribute("fileEntryId")}" src="${factOrFigureImage.getData()}" />
170</#if>
171
172<#-- Case Study, Webinar and Blog Post -->
173<#assign reservedArticleId = .vars['reserved-article-id'].data />
174<#assign insightId = brinks_freemarker_util.getRelatedArticleIdByCategory(themeDisplay.getCompanyId(), themeDisplay.getScopeGroupId(), reservedArticleId, ["CASE_STUDY", "EVENT", "BLOG_POST"], ["0"], "Services Categories", true, locale)!"" />
175<#assign insightId2 = brinks_freemarker_util.getRelatedArticleIdByCategory(themeDisplay.getCompanyId(), themeDisplay.getScopeGroupId(), reservedArticleId, ["CASE_STUDY", "EVENT", "BLOG_POST"], ["${insightId}"], "Services Categories", true, locale)!"" />
176<#assign insightId3 = brinks_freemarker_util.getRelatedArticleIdByCategory(themeDisplay.getCompanyId(), themeDisplay.getScopeGroupId(), reservedArticleId, ["CASE_STUDY", "EVENT", "BLOG_POST"], ["${insightId}", "${insightId2}"], "Services Categories", true, locale)!"" />
177<#if (validator.isNull(insightId2) && insightId2 == "")>
178 <#assign insightId2 = brinks_freemarker_util.getRelatedArticleIdByCategory(themeDisplay.getCompanyId(), themeDisplay.getScopeGroupId(), reservedArticleId, ["CASE_STUDY", "EVENT", "BLOG_POST"], ["${insightId}"], "Services Categories", false, locale)!"" />
179</#if>
180
181<#if (validator.isNull(insightId3) && insightId3 == "")>
182 <#assign insightId3 = brinks_freemarker_util.getRelatedArticleIdByCategory(themeDisplay.getCompanyId(), themeDisplay.getScopeGroupId(), reservedArticleId, ["CASE_STUDY", "EVENT", "BLOG_POST"], ["${insightId}", "${insightId2}"], "Services Categories", false, locale)!"" />
183</#if>
184
185<#if (validator.isNotNull(insightId) && insightId?? && insightId != "") && (validator.isNotNull(insightId2) && insightId2?? && insightId2 != "") && (validator.isNotNull(insightId3) && insightId3?? && insightId3 != "")>
186 <div class="component-gray title-section">
187 <div class="page-width">
188 <h2 class="spacing-large text-center">
189 <@liferay.language key="more-from-our-insights-library" />
190 </h2>
191 <div class="row equal-height onerow">
192 <#if (validator.isNotNull(insightId) && insightId?? && insightId != "")>
193 <div class="col-lg-4 col-md-12">
194 <@liferay_journal["journal-article"]
195 articleId="${insightId}"
196 ddmTemplateKey="INSIGHT_ABSTRACT"
197 groupId=themeDisplay.getScopeGroupId() />
198 </div>
199 </#if>
200 <#if (validator.isNotNull(insightId2) && insightId2?? && insightId2 != "")>
201 <div class="col-lg-4 col-md-12">
202 <@liferay_journal["journal-article"]
203 articleId="${insightId2}"
204 ddmTemplateKey="INSIGHT_ABSTRACT"
205 groupId=themeDisplay.getScopeGroupId() />
206 </div>
207 </#if>
208 <#if (validator.isNotNull(insightId3) && insightId3?? && insightId3 != "")>
209 <div class="col-lg-4 col-md-12">
210 <@liferay_journal["journal-article"]
211 articleId="${insightId3}"
212 ddmTemplateKey="INSIGHT_ABSTRACT"
213 groupId=themeDisplay.getScopeGroupId() />
214 </div>
215 </#if>
216 </div>
217 <div class="button-holder spacing-small text-center">
218 <a class="btn-brinks btn-white btn-link" href="${portalUtil.getLayoutSetFriendlyURL(themeDisplay.getLayoutSet(), themeDisplay)}/insights">
219 <@liferay.language key="view-all-insights" />
220 </a>
221 </div>
222 </div>
223 </div>
224</#if>