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 101, column 43: Unknown built-in: "asset_entry_local_service". Help (latest version): https://freemarker.apache.org/docs/ref_builtins.html; you're using FreeMarker 2.3.32. The alphabetical list of built-ins: abs, absolute_template_name, ancestors, api, boolean, byte, c, c_lower_case, c_upper_case, cap_first, capitalize, ceiling, children, chop_linebreak, chunk, cn, contains, counter, date, date_if_unknown, datetime, datetime_if_unknown, default, double, drop_while, ends_with, ensure_ends_with, ensure_starts_with, esc, eval, eval_json, exists, filter, first, float, floor, groups, has_api, has_content, has_next, html, if_exists, index, index_of, int, interpret, is_boolean, is_collection, is_collection_ex, is_date, is_date_like, is_date_only, is_datetime, is_directive, is_enumerable, is_even_item, is_first, is_hash, is_hash_ex, is_indexable, is_infinite, is_last, is_macro, is_markup_output, is_method, is_nan, is_node, is_number, is_odd_item, is_sequence, is_string, is_time, is_transform, is_unknown_date_like, iso, iso_h, iso_h_nz, iso_local, iso_local_h, iso_local_h_nz, iso_local_m, iso_local_m_nz, iso_local_ms, iso_local_ms_nz, iso_local_nz, iso_m, iso_m_nz, iso_ms, iso_ms_nz, iso_nz, iso_utc, iso_utc_fz, iso_utc_h, iso_utc_h_nz, iso_utc_m, iso_utc_m_nz, iso_utc_ms, iso_utc_ms_nz, iso_utc_nz, item_cycle, item_parity, item_parity_cap, j_string, join, js_string, json_string, keep_after, keep_after_last, keep_before, keep_before_last, keys, last, last_index_of, left_pad, length, long, lower_abc, lower_case, map, markup_string, matches, max, min, namespace, new, next_sibling, no_esc, node_name, node_namespace, node_type, number, number_to_date, number_to_datetime, number_to_time, parent, previous_sibling, remove_beginning, remove_ending, replace, reverse, right_pad, root, round, rtf, seq_contains, seq_index_of, seq_last_index_of, sequence, short, size, sort, sort_by, split, starts_with, string, substring, switch, take_while, then, time, time_if_unknown, trim, truncate, truncate_c, truncate_c_m, truncate_m, truncate_w, truncate_w_m, uncap_first, upper_abc, upper_case, url, url_path, values, web_safe, with_args, with_args_last, word_list, xhtml, xml
1<#assign dl_file_entry_local_service = serviceLocator.findService("com.liferay.document.library.kernel.service.DLFileEntryLocalService")>
2<#assign asset_entry_local_service = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService")>
3
4<div class="c-mb-4 c-mt-4 search-total-label">
5 <#assign keyword_html = "<strong>" + htmlUtil.escape(searchResultsPortletDisplayContext.getKeywords()) + "</strong>">
6 <#if searchContainer.getTotal() == 1>
7 ${languageUtil.format(locale, "x-result-for-x", [searchContainer.getTotal(), keyword_html], false)}
8 <#else>
9 ${languageUtil.format(locale, "x-results-for-x", [searchContainer.getTotal(), keyword_html], 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 dl_file_entry = dl_file_entry_local_service.getDLFileEntry(entry.getClassPK())>
21 <#assign url = themeDisplay.getPortalURL() + "/documents/" + themeDisplay.getScopeGroupId() + "/" + dl_file_entry.getFolderId() + "/" + dl_file_entry.getTitle()?url("UTF-8") + "/" + dl_file_entry.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 <#if entry.isContentVisible()>
44 <p class="list-group-subtext">
45 <span class="subtext-item">
46 ${entry.getContent()}
47 </span>
48 </p>
49 </#if>
50
51 <#if entry.isFieldsVisible()>
52 <p class="list-group-subtext">
53 <#assign separate = false>
54 <#list entry.getFieldDisplayContexts() as field_display_context>
55 <#if separate>·</#if>
56 <span class="badge">${field_display_context.getName()}</span>
57 <span>${field_display_context.getValuesToString()}</span>
58 <#assign separate = true>
59 </#list>
60 </p>
61 </#if>
62
63 <#if entry.isDocumentFormVisible()>
64 <div class="expand-details text-default">
65 <span class="list-group-text text-2">
66 <a class="shadow-none" href="javascript:void(0);">
67 <@liferay.language key="details" />...
68 </a>
69 </span>
70 </div>
71
72 <div class="hide search-results-list table-details table-responsive">
73 <table class="table table-sm">
74 <thead>
75 <tr>
76 <th class="table-cell-expand-smaller table-cell-text-end">
77 <@liferay.language key="key" />
78 </th>
79 <th class="table-cell-expand">
80 <@liferay.language key="value" />
81 </th>
82 </tr>
83 </thead>
84 <tbody>
85 <#list entry.getDocumentFormFieldDisplayContexts() as field_display_context>
86 <tr>
87 <td class="table-cell-expand-smaller table-cell-text-end table-details-content">
88 <strong>${htmlUtil.escape(field_display_context.getName())}</strong>
89 </td>
90 <td class="table-cell-expand table-details-content">
91 <code>${field_display_context.getValuesToString()}</code>
92 </td>
93 </tr>
94 </#list>
95 </tbody>
96 </table>
97 </div>
98 </#if>
99
100 <#assign asset_entry = (entry != null && entry.getClassName() != "" && entry.getClassPK() != 0)
101 ? asset_entry_local_service.getEntry(entry.getClassName(), entry.getClassPK())
102 : null
103 >
104
105 <#assign asset_categories = (asset_entry != null)
106 ? asset_entry.getCategories()
107 : []
108 >
109
110 <#assign display_date = (entry != null && entry.getPublishedDateString()?length >= 10)
111 ? entry.getPublishedDateString()?substring(0, 10)
112 : ""
113 >
114
115 <#assign show_date = false>
116 <#assign has_category = false>
117
118 <#list asset_categories as category>
119 <#assign category_name = category.getTitle(locale)>
120 <#if category_name == "Hír" || category_name == "DirektNet hír" || category_name == "Sajtóközlemény" || category_name == "Bank közzététel" || category_name == "Alapkezelő közzététel" || category_name == "Karbantartás">
121 <#assign show_date = true>
122 </#if>
123 <#assign has_category = true>
124 </#list>
125
126 <#if has_category || show_date>
127 <p class="list-group-subtext" style="margin-top:10px;">
128 <#if has_category>
129 <#list asset_categories as category>
130 <span class="subtext-item">${category.getTitle(locale)}</span>
131 </#list>
132 </#if>
133 <#if show_date>
134 <#if has_category>
135 <span class="subtext-item">/</span>
136 </#if>
137 <span class="subtext-item">${display_date}</span>
138 </#if>
139 </p>
140 </#if>
141
142 </div>
143 </section>
144 </div>
145 </li>
146 </a>
147 </#list>
148 </#if>
149 </ul>
150</div>
151
152<style>
153 .rbhu-search-container {
154 display: flex;
155 justify-content: center;
156 width: 100%;
157 padding: 0 32px;
158 }
159
160 #main-content .portlet-search-results,
161 .rbhu-search-container > div {
162 padding: 0 !important;
163 }
164
165 .rbhu-search-container .search-total-label {
166 text-align: center;
167 }
168
169 .rbhu-search-container h1 {
170 font-size: 48px !important;
171 margin: 36px 0 0 !important;
172 }
173
174 .lfr-layout-structure-item-com-liferay-portal-search-web-search-bar-portlet-searchbarportlet {
175 margin: 48px !important;
176 }
177
178 @media (max-width: 1000px) {
179 .rbhu-search-container h1 {
180 margin: 32px 0 16px !important;
181 }
182
183 .search-total-label {
184 margin-top: 16px !important;
185 }
186
187 .lfr-layout-structure-item-com-liferay-portal-search-web-search-bar-portlet-searchbarportlet {
188 margin: 16px !important;
189 height: 38px !important;
190 padding: 0 20px;
191 }
192 }
193
194 @media (max-width: 480px) {
195 .rbhu-search-container {
196 padding: 0 16px;
197 }
198 }
199</style>