Welcome - DGO
Que bom ter você aqui! Para começar a assistir aos seus conteúdos agora mesmo, é só acessar este botão:
Se você não conseguir acessar o Extra que acabou de adicionar, tente de novo em 5 minutos.
Um erro ocorreu enquanto processava o modelo.
The following has evaluated to null or missing: ==> cur_Card.Btn.Ativar [in template "20101#20128#285887" at line 39, column 14] ---- 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_Card.Btn.Ativar.getData() == ... [in template "20101#20128#285887" at line 39, column 9] ----
1<#function substituirCaminhoCDN(caminho)>
2 <#assign indice=caminho?last_index_of("/documents") + 1>
3 <#assign novoCaminho=caminho?substring(indice)>
4
5 <#return themeDisplay.getCDNBaseURL() + "/" + novoCaminho>
6</#function>
7
8<style>
9 .cards-activate-extras {
10 display: flex;
11 gap: 40px
12 }
13
14 @media (max-width: 576px) {
15 .dtvgo .activate-disney-buyflow .activate-disney-info a {
16 display: flex;
17 justify-content: center;
18 }
19 }
20</style>
21
22<#if Card.getSiblings()?has_content>
23<div class="dtvgo cards-activate-extras mb-5 align-items-center flex-wrap justify-content-center">
24 <#list Card.getSiblings() as cur_Card>
25 <div id="${cur_Card.ID.getData()}" class="activate-disney-buyflow hide">
26 <#if (cur_Card.Img.getData())?? && cur_Card.Img.getData() != "">
27 <div class="img-disney-buyflow">
28 <img
29 alt="${cur_Card.Img.getAttribute("alt")}"
30 data-fileentryid="${cur_Card.Img.getAttribute("fileEntryId")}"
31 src="${substituirCaminhoCDN(cur_Card.Img.getData())}"
32 />
33 </div>
34 </#if>
35 <div class="activate-disney-info">
36 <h1>${cur_Card.Titulo.getData()}</h1>
37 <p>${cur_Card.Subtitulo.getData()}</p>
38
39 <#if cur_Card.Btn.Ativar.getData() == "true">
40 <a data-senna-off="true" href="${cur_Card.Btn.LinkParaPagina.getFriendlyUrl()}">
41 <button class="button button__gray_selfcare text-white bordered">
42 ${cur_Card.Btn.Texto.getData()}
43 </button>
44 </a>
45 </#if>
46 </div>
47 </div>
48 </#list>
49</div>
50</#if>