Dobro došli u A1 mobilni svijet
Drago nam je što ste odabrali naše mobilne usluge!
An error occurred while processing the template.
The following has evaluated to null or missing: ==> item.title_color [in template "10113#11634844#45921593" at line 50, column 54] ---- 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 be 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 item.title_color.getData() != "" [in template "10113#11634844#45921593" at line 50, column 49] ----
1<#assign liferay_theme = PortletJspTagLibs["/META-INF/liferay-theme.tld"] />
2<#assign portlet = PortletJspTagLibs["/META-INF/liferay-portlet.tld"] />
3<@liferay_theme["defineObjects"] />
4<@portlet["defineObjects"] />
5
6<#assign today = .now?string('yyyy-MM-dd')?date('yyyy-MM-dd') />
7<#assign images_folder=themeDisplay.getPathThemeImages() />
8<section class="FancySlider-section bg-${BackgroundColor.getData()}">
9 <div class="container">
10 <#assign imagePosition = "no-image" />
11 <#assign hasImage = false />
12 <#assign hasVideo = false />
13 <#list Naslov.getSiblings() as item>
14 <#assign doRender = ((item.DateFrom.getData()?has_content)?then(today gte item.DateFrom.getData()?date('yyyy-MM-dd'), true)) && ((item.DateTo.getData()?has_content)?then(today lte item.DateTo.getData()?date('yyyy-MM-dd') ,true))>
15 <#if doRender>
16 <#if hasImage || (item.Fotografija.getData()?has_content && item.Fotografija.getData() != "") >
17 <#assign hasImage = true />
18 <#elseif hasVideo || (item.Video.getData()?has_content && item.Video.getData() != "") >
19 <#assign hasVideo = true />
20 </#if>
21 </#if>
22 </#list>
23 <#if hasImage || hasVideo>
24 <#if PozicijaFotografije.getData() == "left">
25 <#assign imagePosition = "img-left" />
26 <#elseif PozicijaFotografije.getData() == "right">
27 <#assign imagePosition = "img-right" />
28 </#if>
29 </#if>
30 <div class="js-fancy-slider FancySlider ${imagePosition}">
31 <div class="swiper-wrapper">
32 <#list Naslov.getSiblings() as item>
33 <#assign doRender = ((item.DateFrom.getData()?has_content)?then(today gte item.DateFrom.getData()?date('yyyy-MM-dd'), true)) && ((item.DateTo.getData()?has_content)?then(today lte item.DateTo.getData()?date('yyyy-MM-dd') ,true))>
34 <#if doRender>
35
36 <#assign hasImage = false />
37 <#assign hasVideo = false />
38 <#if item.Fotografija.getData()?has_content && item.Fotografija.getData() != "" >
39 <#assign hasImage = true />
40 <#elseif item.Video.getData()?has_content && item.Video.getData() != "" >
41 <#assign hasVideo = true />
42 </#if>
43
44 <#assign hasMobileImage = item.FotografijaMobile?? && item.FotografijaMobile.getData()?has_content && item.FotografijaMobile.getData() != "" />
45 <#assign noImage = "no-image" />
46 <#if hasImage || hasVideo>
47 <#assign noImage = "" />
48 </#if>
49 <#assign title_color = 'black' />
50 <#if item.title_color.getData() != "">
51 <#assign title_color = item.title_color.getData() />
52 </#if>
53 <div class="swiper-slide">
54 <div class="FancySlide ${noImage}">
55 <div class="FancySlide-content">
56 <h3 class="title-h3 font-serif mb-4 title--${title_color}">${item.getData()}</h3>
57 <p class="text-sm md:text-base mb-4">${item.Tekst.getData()}</p>
58 <#if item.button_text.getData() != "" && (item.button_link.getData() != "" || item.webform_label.getData() != "" || item.ModalId.getData() != "")>
59 <#assign link_opening_mode="">
60 <#if item.link_opening_mode.getData()=="new_tab">
61 <#assign link_opening_mode="_blank">
62 </#if>
63
64 <#assign webform_overlay = "" />
65 <#assign data_modal_id="" />
66 <#assign modal_trigger_class="" />
67 <#assign link = "" />
68 <#assign ff_custom_title = "" />
69 <#if item.button_link.getData() != "">
70 <#assign link = item.button_link.getData() />
71 <#elseif item.webform_label.getData() != "">
72 <#assign webform_overlay_sufix = "'" />
73 <#assign webform_overlay = "data-webform-overlay='" />
74 <#assign webform_overlay = webform_overlay + item.webform_label.getData() />
75 <#assign webform_overlay = webform_overlay + webform_overlay_sufix />
76 <#elseif item.ModalId.getData() != "">
77 <#assign modal_id_sufix = "'" />
78 <#assign data_modal_id = "data-modal='#" />
79 <#assign data_modal_id = data_modal_id + item.ModalId.getData() />
80 <#assign data_modal_id = data_modal_id + modal_id_sufix />
81 <#assign link = "#" />
82 <#assign modal_trigger_class = "js-modal-trigger" />
83 <#assign link_opening_mode="">
84 <#assign ff_custom_title = item.ff_custom_title.getData() />
85
86 </#if>
87
88
89 <a href="${link}" target="${link_opening_mode}" class="button button--${item.button_transparency_variant.getData()} button--${item.button_color.getData()} text-center ${modal_trigger_class}" ${data_modal_id} ${webform_overlay} data-ff-custom-title="${ff_custom_title}" data-portlet-name="FancySlider" data-button-text="${item.button_text.getData()}" data-button-link="${link}" data-button-type="${item.button_transparency_variant.getData()}" data-button-color="${item.button_color.getData()}" data-element-heading="${Naslov.getData()}">
90 ${item.button_text.getData()}
91 <#if item.button_arrow_variant.getData()=="with_arrow">
92 <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
93 <path d="M19.1925 10.9425L20.25 12L19.1925 13.0575L12.2625 19.9875L11.205 18.93L18.135 12L11.205 5.07001L12.2625 4.01251L19.1925 10.9425ZM15.255 12.75H3.75V11.25H15.255L16.005 12L15.255 12.75Z" fill="currentColor"></path>
94 </svg>
95 </#if>
96 </a>
97
98 </#if>
99 </div>
100
101 <#assign mobileImageClasses = "" />
102 <#assign desktopImageClasses = "" />
103 <#if hasMobileImage>
104 <#assign mobileImageClasses = "d-md-none" />
105 <#assign desktopImageClasses = "d-none d-md-block" />
106 </#if>
107
108 <#if hasImage>
109 <div class="FancySlide-image ">
110 <img src="${fetchCDNLink(item.Fotografija.getData())}" title="${item.FotografijaTitle.getData()}" alt="${item.FotografijaTitle.getData()}" class="${desktopImageClasses}">
111 <#if hasMobileImage>
112 <img src="${fetchCDNLink(item.FotografijaMobile.getData())}" title="${item.FotografijaTitle.getData()}" alt="${item.FotografijaTitle.getData()}" class="${mobileImageClasses}">
113 </#if>
114 </div>
115 <#elseif hasVideo>
116 <div class="FancySlide-image ">
117 <iframe width="560" height="315" src="${item.Video.getData()}" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
118 </div>
119 </#if>
120 </div>
121 </div>
122 </#if>
123 </#list>
124 </div>
125 <div class="FancySlider--navigation">
126 <div class="FancySlider--navigation_button FancySlider-prev"><img src="${images_folder}/icons/icon-left.svg" /></div>
127 <div class="FancySlider--pagination"></div>
128 <div class="FancySlider--navigation_button FancySlider-next"><img src="${images_folder}/icons/icon-right.svg" /></div>
129 </div>
130 </div>
131 </div>
132</section>
133
134<#function fetchCDNLink link>
135 <#if !link?starts_with(themeDisplay.getCDNHost())>
136 <#return (themeDisplay.getCDNHost() + link)>
137 </#if>
138 <#return link>
139</#function>
Prepoznajući potrebe korisnika želimo vam otkriti kako još možemo pomoći vašem poslovanju da postane jednostavnije, produktivnije i sigurnije.
Zaštitite svoje uređaje u A1 mreži
Znate li da je 59% organizacija doživjelo sigurnosni incident u posljednjih 12 mjeseci? Prijetnje tvrtkama najčešće dolaze od zaraženih uređaja zaposlenika.
Zaštitite svoje uređaje od špijunskih softvera, mrežnih prijevara i zlonamjernih web adresa!
Za uključenje A1 Net Protect usluge kontaktirajte svog prodajnog predstavnika ili samostalno uključite putem Moj A1.