Prova AP-525 (2)
S'ha produït un error mentre es processava la plantilla.
The following has evaluated to null or missing: ==> enllacFieldSet [in template "20101#20128#1439839" at line 19, column 6] ---- 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 enllacFieldSet.enllacFieldSetFiel... [in template "20101#20128#1439839" at line 19, column 1] ----
1<#assign customClassViewAttribute = "ADT-custom-class-view" />
2<#--
3 Per defecte, la distribuidora te la customClassView list-distribuidora
4 list-distribuidora-imatges: mostra la llista amb la imatge
5 list-destacat-2nivell: mostra la vista com a destacat 2nivell
6-->
7<#assign customFigureClassView = "figure-quadrada hover" />
8<#assign customClassView = "" />
9<#if renderRequest.getAttribute(customClassViewAttribute)?has_content>
10 <#assign customClassView = renderRequest.getAttribute(customClassViewAttribute) />
11 <#if customClassView?has_content && (customClassView == "list-distribuidora-imatges" || customClassView == "list-destacat-2nivell")>
12 <#assign customFigureClassView = "liquid figure-destacada" /><#if (enllacFieldSet.enllacFieldSetFieldSet.enllac_enllac_extern.getData())??>
13</#if>
14 </#if>
15</#if>
16
17<#assign detailUrl = "#" />
18<#assign target = "_self" />
19<#if enllacFieldSet.enllacFieldSetFieldSet?? && enllacFieldSet.enllacFieldSetFieldSet.enllac_enllac_extern.getData()?has_content>
20 <#assign detailUrl = enllacFieldSet.enllacFieldSetFieldSet.enllac_enllac_extern.getData() />
21 <#assign target = "_blank" />
22<#elseif enllacFieldSet.enllacFieldSetFieldSet?? && enllacFieldSet.enllacFieldSetFieldSet.enllac_enllac_intern.getFriendlyUrl()?has_content>
23 <#assign detailUrl = enllacFieldSet.enllacFieldSetFieldSet.enllac_enllac_intern.getFriendlyUrl() />
24</#if>
25<div class="box col-sm-12">
26 <a href="${detailUrl}" target="${target}" title="Anar a ${titol.getData()}" aria-label="Anar a ${titol.getData()}">
27 <div class="container-image">
28 <figure class="figure ${customFigureClassView}">
29 <#if imatge_principal?has_content && imatge_principal.imatge_principal_imatge.getData()?has_content>
30 <img alt="${imatge_principal.imatge_principal_imatge.getAttribute("alt")}" data-fileentryid="${imatge_principal.imatge_principal_imatge.getAttribute("fileEntryId")}" class="lazy-load" datasrc="${imatge_principal.imatge_principal_imatge.getData()}" />
31 </#if>
32 <#if customClassView == "list-distribuidora" && imatge_hover.imatge_hover_imatge.getData()?? && imatge_hover.imatge_hover_imatge.getData() != "">
33 <img alt="${imatge_hover.imatge_hover_imatge.getAttribute("alt")}" data-fileentryid="${imatge_hover.imatge_hover_imatge.getAttribute("fileEntryId")}" src="${imatge_hover.imatge_hover_imatge.getData()}" />
34 </#if>
35 </figure>
36 </div>
37 <div class="container-content">
38 <h2 class="title title-bloc">
39 ${titol.getData()}
40 </h2>
41 <#if customClassView == "list-distribuidora-imatges" || customClassView == "list-destacat-2nivell">
42 <p class="description">
43 <#if entradeta?? && entradeta.getData()?has_content>
44 ${entradeta.getData()}
45 </#if>
46 <span>${languageUtil.get(locale, "message.general.veure_contingut")} <i class="material-icons">arrow_circle_down</i></span>
47 </p>
48 </#if>
49 </div>
50 </a>
51</div>
DIST-Passa't a la T-mobilitat
Ves-hiProva article base CM
Prova article base CM
Prova article base CM