Közzétételek - Raiffeisen BANK
Közzétételek
Kereső sáv
Keresési eredmények
Hiba jelentkezett a sablon feldolgozása során.
Syntax error in template "10132#10165#4489501" in line 104, column 126: Naming convention mismatch. Identifiers that are part of the template language (not the user specified ones) must consistently use the same naming convention within the same template. This template uses legacy naming convention (directive (tag) names are like examplename, everything else is like example_name) estabilished by auto-detection at line 15, column 22 by token "has_content", but the problematic token, "publishedDateStr", uses a different convention.
1<#assign dlFileEntryLocalService = serviceLocator.findService("com.liferay.document.library.kernel.service.DLFileEntryLocalService")>
2<#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService")>
3
4<div class="c-mb-4 c-mt-4 search-total-label">
5 <#assign keywordHtml = "<strong>" + htmlUtil.escape(searchResultsPortletDisplayContext.getKeywords()) + "</strong>">
6 <#if searchContainer.getTotal() == 1>
7 ${languageUtil.format(locale, "x-result-for-x", [searchContainer.getTotal(), keywordHtml], false)}
8 <#else>
9 ${languageUtil.format(locale, "x-results-for-x", [searchContainer.getTotal(), keywordHtml], false)}
10 </#if>
11</div>
12
13<div class="display-list">
14 <ul class="list-group" id="search-results-display-list">
15 <#if entries?has_content>
16 <#list entries as entry>
17
18 <#assign url = "">
19 <#if entry.getClassName() == "com.liferay.document.library.kernel.model.DLFileEntry">
20 <#assign dlFileEntry = dlFileEntryLocalService.getDLFileEntry(entry.getClassPK())>
21 <#assign url = themeDisplay.getPortalURL() + "/documents/" + themeDisplay.getScopeGroupId() + "/" + dlFileEntry.getFolderId() + "/" + dlFileEntry.getTitle()?url("UTF-8") + "/" + dlFileEntry.getUuid()>
22 <#else>
23 <#assign url = entry.getViewURL()>
24 </#if>
25
26 <a href="${url}" class="text-decoration-none">
27 <li class="list-group-item list-group-item-flex">
28 <div class="autofit-col autofit-col-expand">
29 <section class="autofit-section">
30 <div class="c-mt-0 list-group-title">
31 ${entry.getHighlightedTitle()}
32 </div>
33
34 <div class="search-results-metadata">
35 <#if entry.isLocaleReminderVisible()>
36 <p class="list-group-subtext">
37 <span class="lfr-portal-tooltip" title="${entry.getLocaleReminder()}">
38 <@clay["icon"] symbol="${entry.getLocaleLanguageId()?lower_case?replace('_', '-')}" />
39 </span>
40 </p>
41 </#if>
42
43 <#-- Tartalom előnézet -->
44 <#if entry.isContentVisible()>
45 <p class="list-group-subtext">
46 <span class="subtext-item">
47 ${entry.getContent()}
48 </span>
49 </p>
50 </#if>
51
52 <#if entry.isFieldsVisible()>
53 <p class="list-group-subtext">
54 <#assign separate = false>
55 <#list entry.getFieldDisplayContexts() as fieldDisplayContext>
56 <#if separate>·</#if>
57 <span class="badge">${fieldDisplayContext.getName()}</span>
58 <span>${fieldDisplayContext.getValuesToString()}</span>
59 <#assign separate = true>
60 </#list>
61 </p>
62 </#if>
63
64 <#if entry.isDocumentFormVisible()>
65 <div class="expand-details text-default">
66 <span class="list-group-text text-2">
67 <a class="shadow-none" href="javascript:void(0);">
68 <@liferay.language key="details" />...
69 </a>
70 </span>
71 </div>
72
73 <div class="hide search-results-list table-details table-responsive">
74 <table class="table table-sm">
75 <thead>
76 <tr>
77 <th class="table-cell-expand-smaller table-cell-text-end">
78 <@liferay.language key="key" />
79 </th>
80 <th class="table-cell-expand">
81 <@liferay.language key="value" />
82 </th>
83 </tr>
84 </thead>
85 <tbody>
86 <#list entry.getDocumentFormFieldDisplayContexts() as fieldDisplayContext>
87 <tr>
88 <td class="table-cell-expand-smaller table-cell-text-end table-details-content">
89 <strong>${htmlUtil.escape(fieldDisplayContext.getName())}</strong>
90 </td>
91 <td class="table-cell-expand table-details-content">
92 <code>${fieldDisplayContext.getValuesToString()}</code>
93 </td>
94 </tr>
95 </#list>
96 </tbody>
97 </table>
98 </div>
99 </#if>
100
101 <#assign assetEntry = assetEntryLocalService.getEntry(entry.getClassName(), entry.getClassPK())>
102 <#assign assetCategories = assetEntry.getCategories()>
103 <#assign publishedDateStr = entry.getPublishedDateString()>
104 <#assign displayDate = (publishedDateStr?has_content && publishedDateStr?length >= 10) ? publishedDateStr?substring(0, 10) : "">
105
106
107 <#assign showDate = false>
108 <#assign hasCategory = false>
109 <#list assetCategories as category>
110 <#assign categoryName = category.getTitle(locale)>
111 <#if categoryName == "Hír" || categoryName == "DirektNet hír" || categoryName == "Sajtóközlemény" || categoryName == "Bank közzététel" || categoryName == "Alapkezelő közzététel" || categoryName == "Karbantartás">
112 <#assign showDate = true>
113 </#if>
114 <#assign hasCategory = true>
115 </#list>
116
117 <#if hasCategory || showDate>
118 <p class="list-group-subtext" style="margin-top:10px;">
119 <#if hasCategory>
120 <#list assetCategories as category>
121 <span class="subtext-item">${category.getTitle(locale)}</span>
122 </#list>
123 </#if>
124 <#if showDate>
125 <#if hasCategory>
126 <span class="subtext-item">/</span>
127 </#if>
128 <span class="subtext-item">${displayDate}</span>
129 </#if>
130 </p>
131 </#if>
132
133 </div>
134 </section>
135 </div>
136 </li>
137 </a>
138 </#list>
139 </#if>
140 </ul>
141</div>
142
143<style>
144 .rbhu-search-container {
145 display: flex;
146 justify-content: center;
147 width: 100%;
148 padding: 0 32px;
149 }
150
151 #main-content .portlet-search-results,
152 .rbhu-search-container > div {
153 padding: 0 !important;
154 }
155
156 .rbhu-search-container .search-total-label {
157 text-align: center;
158 }
159
160 .rbhu-search-container h1 {
161 font-size: 48px !important;
162 margin: 36px 0 0 !important;
163 }
164
165 .lfr-layout-structure-item-com-liferay-portal-search-web-search-bar-portlet-searchbarportlet {
166 margin: 48px !important;
167 }
168
169 @media (max-width: 1000px) {
170 .rbhu-search-container h1 {
171 margin: 32px 0 16px !important
172 }
173
174 .search-total-label {
175 margin-top: 16px !important;
176 }
177
178 .lfr-layout-structure-item-com-liferay-portal-search-web-search-bar-portlet-searchbarportlet {
179 margin: 16px !important;
180 height: 38px !important;
181 padding: 0 20px;
182 }
183 }
184
185 @media (max-width: 480px) {
186 .rbhu-search-container {
187 padding: 0 16px;
188 }
189 }
190</style>