Exchange rates
Thu Mar 28 00:00:00 CET 2024
EUR/USD | 1.0811 |
EUR/CHF | 0.9766 |
Interest rates
effective from 20 September 2023
Marginal lending facility | 4.75 % |
Main refinancing operations | 4.50 % |
Deposit facility | 4.00 % |
Inflation
annual rate of change, February 2024
Overall HICP |
4.8% |
HICP excluding energy and food |
5.3% |
Overall CPI |
4.1% |
An error occurred while processing the template.
The following has evaluated to null or missing: ==> asDebugCollapsable [in template "20155#20195#120490" at line 127, column 27] ---- 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: ${asDebugCollapsable(curEntry, articl... [in template "20155#20195#120490" at line 127, column 25] ----
1<#-- TEMPLATE KEY : 163899 -->
2<#-- TEMPLATE NAME: HNB Homepage - Novo -->
3
4<#assign layoutLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.LayoutLocalService")>
5
6<#assign dLFileEntryLocalService = serviceLocator.findService("com.liferay.document.library.kernel.service.DLFileEntryLocalService")>
7
8<#include "${templatesPath}/4812567" />
9<#include "${templatesPath}/ADT-FUNCTIONS" />
10
11<style>
12 /*NEW*/
13 .hnb-body .lh { line-height: 1em; }
14 /*.hnb-body .new a.showmore:hover { background: #fff; color: #686a70; }*/
15 .hnb-body .module a.block { display: block; color: rgba(72, 76, 80, 1.0); }
16 .hnb-body .module a.block:hover,
17 .hnb-body .module a.block:hover * {color: rgba(64, 64, 56, 1.0); background: transparent;}
18 .hnb-body .module .pad-nq-12 { padding: 12px; }
19 .hnb-body img.headlineimg { width: 100%; }
20</style>
21
22<div class="module new pad-nq-r-16 brd-r-grey">
23 <div class="brd-t-grey margo-b-8" style="border-width:4px;"></div>
24 <h5 class="red02 bold uppercase margo-b-4">
25 <#if locale = "en_US" && portletSetupTitle_en_US?has_content>
26 ${portletSetupTitle_en_US}
27 <#elseif locale = "hr_HR" && portletSetupTitle_hr_HR?has_content>
28 ${portletSetupTitle_hr_HR}
29 </#if>
30 </h5>
31 <#if entries?has_content>
32 <#list sortByDateAndPosition(filterByLanguageId(entries, locale), "datum_azuriranja", "datum_objave", "poz_novo", false, 6) as curEntry>
33
34 <#assign assetRenderer = curEntry.getAssetRenderer() />
35
36 <#if assetRenderer?has_content >
37
38 <#assign contextUrl = "#" />
39
40 <#if assetPublisherHelper.getAssetViewURL(renderRequest, renderResponse, curEntry)? has_content>
41 <#assign viewURL = assetPublisherHelper.getAssetViewURL(renderRequest, renderResponse, curEntry) />
42 <#assign contextUrl = assetRenderer.getURLViewInContext(renderRequest, renderResponse, viewURL) />
43 </#if>
44
45 <#assign slikaUrl = "" />
46 <#assign sazetak = "" />
47 <#assign atribucije = "" />
48
49 <#if assetRenderer.getClassName() == "com.liferay.journal.model.JournalArticle">
50 <#assign article = assetRenderer.getArticle() />
51
52 <#assign articleLayoutUuid = article.getLayoutUuid() />
53
54 <#if !articleLayoutUuid?has_content>
55 <#assign contextUrl = "#" />
56 </#if>
57
58 <#assign nadnaslov = getStructureFieldSetValue(article, "parentStructureFieldSet263702", "najava_rubrika")/>
59
60 <#assign naslov = getStructureFieldSetValue(article, "parentStructureFieldSet263702", "najava_naslov") />
61 <#if !naslov?has_content>
62 <#assign naslov = curEntry.getTitle(locale) />
63 </#if>
64
65 <#assign sazetak = getStructureFieldSetValue(article, "parentStructureFieldSet263702", "najava_sazetak") />
66 <#if !sazetak?has_content>
67 <#assign sazetak = getField(article, 'sazetak') />
68 </#if>
69
70 <#assign slika = getStructureFieldSetValue(article, "parentStructureFieldSet263702", "najava_slika") />
71 <#if slika?has_content>
72 <#assign slika = getStructureFieldSetValue(article, "parentStructureFieldSet263702", "najava_slika")?eval />
73
74 <#if (slika.uuid)?has_content>
75 <#assign image = dLFileEntryLocalService.fetchFileEntry(slika.uuid, groupId) />
76 <#assign slikaUrl = "/c/document_library/get_file?uuid=" + slika.uuid + "&groupId=" + slika.groupId />
77 <#assign localeSuffix = locale[0..1]?upper_case />
78 <#assign atribucije = getImageAttribution(image.getDDMFormValuesMap(image.getFileVersion().getFileVersionId()) , localeSuffix) />
79 </#if>
80 </#if>
81
82 <#assign vrijeme_azuriranja = getStructureFieldSetValue(article, "parentStructureFieldSet263702", "vrijeme_azuriranja") />
83
84 <#-- tu dohvaćam eksterne linkove -->
85
86 <#assign extRubrika = getField(article, 'rubrika') />
87 <#if !extRubrika?has_content>
88 <!-- #assign naslov = curEntry.getTitle(locale) /-->
89 <#else>
90 <#assign nadnaslov = extRubrika />
91 </#if>
92
93 <#assign extNazivLinka = getField(article, 'link_tekst') />
94 <#if !extNazivLinka?has_content>
95 <!-- #assign naslov = curEntry.getTitle(locale) /-->
96 <#else>
97 <#assign naslov = extNazivLinka />
98 </#if>
99
100 <#assign extUrl = getField(article, 'link_url') />
101 <#if extUrl?has_content >
102 <#assign contextUrl = extUrl />
103 </#if>
104 </#if>
105
106 <#if article.getAvailableLanguageIds()?seq_contains(locale) >
107 <div class="row">
108 <div class="module margo-0 pad-nq-l-0 pad-nq-r-0 pad-t-0">
109 <#if slikaUrl?has_content>
110 <div class="nr-1-3">
111 <a href="${contextUrl}">
112 <img title="${naslov}" src="${slikaUrl}" alt="${naslov}" class="headlineimg"/>
113 </a>
114 </div>
115 </#if>
116 <div class="${(slikaUrl?has_content)?string('nr-2-3 pad-nq-l-16','')}">
117 <h6 class="uppercase margo-t-0 margo-b-4">${nadnaslov}</h6>
118 <p class="bold margo-b-8 lh-1-33">
119 <a href="${contextUrl}">${naslov}</a>
120 </p>
121 <h6 class="red02 uppercase margo-b-2">
122 <span> ${getDisplayDate(article)}</span>
123 </h6>
124 </div>
125 </div>
126
127 ${asDebugCollapsable(curEntry, article, "")}
128 </div>
129 <#if curEntry?has_next>
130 <div class="separator"></div>
131 </#if>
132 </#if>
133 </#if>
134 </#list>
135 <div class="row margo-t-8" style="border-top: 1px solid;">
136 <div class="module pad-nq-12 margo-0">
137 <h6 class="lh-1 bold uppercase margo-b-0">
138 <a href="${languageUtil.get(locale,"theme.new.link")}" class="block pad-nq-0 showmore">
139 ${languageUtil.get(locale,"templates.link.showMore")}
140 <span class="pad-nq-l-4 dark-red-color right text-right">❯</span>
141 </a>
142 </h6>
143 </div>
144 </div>
145 </#if>
146</div>