Konkursy - Wydział Matematyki i Informatyki
Wystąpił błąd podczas przetwarzania szablonu.
The following has evaluated to null or missing:
==> artStructureValues["tytul"] [in template "20096#20121#SKORKA2015-LISTA-ARTYKULOW" at line 338, column 44]
----
Tip: It's the final [] step 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: articleTitle = artStructureValues["ty... [in template "20096#20121#SKORKA2015-LISTA-ARTYKULOW" at line 338, column 29]
----
1<#assign sciezkaObrazkow = ''/>
2<#assign currentUrl = ''/>
3<#if request?? && request?has_content>
4 <#assign sciezkaObrazkow = themeDisplay.getPathThemeImages()/>
5 <#assign currentUrl = themeDisplay.getURLCurrent()/>
6 <#assign longGroupId = themeDisplay.getScopeGroupId()/>
7 <#assign currentRenderUrl = themeDisplay.getPortalURL() + themeDisplay.getURLCurrent()/>
8</#if>
9
10<#if sciezkaObrazkow?has_content || sciezkaObrazkow?matches(".*/uj-lift-theme/images.*")>
11
12 <style>
13 @media all and (min-width:480px){
14 .post-excerpt__image img.thumb, html.view-gt480 .post-excerpt__image img.thumb{width: 300px;}
15 }
16 </style>
17
18 <#assign langReadMore = htmlUtil.escape(languageUtil.get(locale,"read-more"))/>
19 <#assign langAll = htmlUtil.escape(languageUtil.get(locale,"all"))/>
20 <#assign langFilter = htmlUtil.escape(languageUtil.get(locale,"filter"))/>
21 <#assign langViewAll = htmlUtil.escape(languageUtil.get(locale,"view-all"))/>
22
23<#-----------MACRO----------->
24 <#macro imgAltDescription artImgUrl>
25 <#assign artImgUrlArray = stringUtil.split(artImgUrl, "/")/>
26 <#assign fileGroup = getterUtil.getLong(artImgUrlArray[2])/>
27 <#assign fileFolder = getterUtil.getLong(artImgUrlArray[3])/>
28 <#assign fileName = httpComponentsUtil.decodeURL(artImgUrlArray[4])/>
29
30 <#if fileEntryService.getFileEntryByFileName(fileGroup, fileFolder, fileName)??>
31 <#assign file = fileEntryService.getFileEntryByFileName(fileGroup, fileFolder, fileName)/>
32 <#assign fileTitle = file.getTitle()/>
33 <#assign fileTitle = fileTitle?replace("\\\"", """)/>
34 <#assign fileDescription = file.getDescription()>
35 <#assign fileDescription = fileDescription?replace("\\\"", """)/>
36 <#assign fileExtension = file.getExtension()/>
37 </#if>
38 </#macro>
39
40<#-----------Services----------->
41 <#assign journalArticleResourceService = serviceLocator.findService("com.liferay.journal.service.JournalArticleResourceLocalService")/>
42 <#assign journalArticleService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")/>
43 <#assign assetTagService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetTagLocalService")/>
44 <#assign groupService = serviceLocator.findService("com.liferay.portal.kernel.service.GroupLocalService")/>
45 <#assign fileEntryService = serviceLocator.findService("com.liferay.document.library.kernel.service.DLFileEntryLocalService")/>
46
47<#-----------Structure variables----------->
48 <#assign
49 titleData = ""
50 typeData = ""
51 categoriesData = ""
52 omitCategoriesData = ""
53 tagsData = ""
54 omitTagsData = ""
55 groupIdsData = ""
56 noResultData = ""
57 sortByData = ""
58 hideData = ""
59 aggregatorSiteUrlData = ""
60 aggregatorPortletIdData = ""
61 hidePaginationData = ""
62 omitArticleIdsData = ""
63 iloscNaStronie = ""
64 />
65
66 <#if (title.getData())??>
67 <#assign titleData = title.getData()/>
68 </#if>
69 <#if (type.getData())??>
70 <#assign typeData = type.getData()?upper_case/>
71 </#if>
72 <#if (categories.getData())??>
73 <#assign categoriesData = categories.getData()/>
74 </#if>
75 <#if (omitCategories.getData())??>
76 <#assign omitCategoriesData = omitCategories.getData()/>
77 </#if>
78 <#if (tags.getData())??>
79 <#assign tagsData = tags.getData()/>
80 </#if>
81 <#if (omitTags.getData())??>
82 <#assign omitTagsData = omitTags.getData()/>
83 </#if>
84 <#if (groupIds.getData())??>
85 <#assign groupIdsData = groupIds.getData()/>
86 </#if>
87 <#if (noResult.getData())??>
88 <#assign noResultData = noResult.getData()/>
89 </#if>
90 <#if (sortBy.getData())??>
91 <#assign sortByData = sortBy.getData()/>
92 </#if>
93 <#if (hide.getData())??>
94 <#assign hideData = hide.getData()/>
95 </#if>
96 <#if (aggregatorSiteUrl.getData())??>
97 <#assign aggregatorSiteUrlData = aggregatorSiteUrl.getData()/>
98 </#if>
99 <#if (aggregatorPortletId.getData())??>
100 <#assign aggregatorPortletIdData = aggregatorPortletId.getData()/>
101 </#if>
102 <#if aggregatorSiteUrlData?has_content && aggregatorPortletIdData?has_content>
103 <#assign adresStrony = aggregatorSiteUrlData/>
104 <#assign portletId = aggregatorPortletIdData/>
105 <#else>
106 <#assign adresStrony = themeDisplay.getPortalURL() + themeDisplay.getURLCurrent()/>
107
108 <#if adresStrony?contains("?")>
109 <#assign adresStrony = adresStrony?substring(0, adresStrony?index_of("?")) />
110 <#else>
111 <#assign adresStrony = adresStrony/>
112 </#if>
113 <#if themeDisplay.getLayout().getName()?contains("#start") && !adresStrony?contains("/start")>
114 <#assign adresStrony = adresStrony + themeDisplay.getLayout().getFriendlyURL()/>
115 </#if>
116
117 <#assign portletId = themeDisplay.getPortletDisplay().getId()/>
118 </#if>
119
120 <#if (hidePagination.getData())??>
121 <#assign hidePaginationData = hidePagination.getData()/>
122 </#if>
123 <#if (omitArticleIds.getData())??>
124 <#assign omitArticleIdsData = omitArticleIds.getData()/>
125 </#if>
126
127 <#if (articlesCountOnPage.getData())??>
128 <#assign iloscNaStronie = getterUtil.getInteger(articlesCountOnPage.getData())/>
129 </#if>
130
131<#-----------Organizations & Groups----------->
132 <#assign groupsList = []/>
133 <#assign groupIds = []/>
134 <#assign groupIdsLong = getterUtil.getLongValues(stringUtil.split(groupIdsData, ","))/>
135
136 <#list groupIdsLong as g>
137 <#if groupService.fetchGroup(g)??>
138 <#assign groupIds = groupIds + [g] />
139 </#if>
140 </#list>
141
142 <#if groupIds?size gt 0>
143 <#list groupIds as groupId>
144 <#assign groupsList = groupsList + [groupId] />
145 </#list>
146
147 <#else>
148 <#assign groupsList = [longGroupId?string]/>
149 <#assign groupIds = [longGroupId]/>
150 </#if>
151
152 <#assign groupsListFilter = groupsList/>
153
154 <#assign groupFilter = ''/>
155 <#if renderRequest.getOriginalHttpServletRequest().getParameter('groupFilter')??>
156 <#assign groupFilter = renderRequest.getOriginalHttpServletRequest().getParameter('groupFilter')?html/>
157 </#if>
158
159 <#if groupFilter?has_content>
160 <#if groupsList?join(",")?contains(groupFilter)>
161 <#assign groupsList = [groupFilter?string]/>
162 <#assign groupIds = [getterUtil.getLong(groupFilter)]/>
163 </#if>
164 </#if>
165
166 <#assign emptyLongArray = getterUtil.getLongValues([])/>
167<#-----------Categories----------->
168 <#assign categoryIds = emptyLongArray/>
169 <#assign omitCategoryIds = emptyLongArray/>
170
171 <#list stringUtil.split(categoriesData, ",") as categorie>
172 <#if categorie?length gt 0>
173 <#assign categoryNameTmp = [categorie?trim]/>
174 <#list groupIds as longGroupId>
175 <#assign categoryIdTmp = ujCustomAssetHelper.getCategoryIds(longGroupId, categoryNameTmp)/>
176 <#assign categoryIds = arrayUtil.append(categoryIds, categoryIdTmp)/>
177 </#list>
178 </#if>
179 </#list>
180
181 <#list stringUtil.split(omitCategoriesData, ",") as categorie>
182 <#if categorie?length gt 0>
183 <#assign omitCategoryNameTmp = [categorie?trim]/>
184 <#list groupIds as longGroupId>
185 <#assign omitCategoryIdTmp = ujCustomAssetHelper.getCategoryIds(longGroupId, omitCategoryNameTmp)/>
186 <#assign omitCategoryIds = arrayUtil.append(omitCategoryIds, omitCategoryIdTmp)/>
187 </#list>
188 </#if>
189 </#list>
190
191<#-----------Tags----------->
192 <#assign tagIds = emptyLongArray/>
193 <#assign omitTagIds = emptyLongArray/>
194
195 <#list stringUtil.split(tagsData) as tag>
196 <#if tag?length gt 0>
197 <#assign tagNameTmp = [tag?trim]/>
198 <#list groupIds as longGroupId>
199 <#assign tagIdTmp = ujCustomAssetHelper.getTagIds(longGroupId, tagNameTmp)/>
200 <#assign tagIds = arrayUtil.append(tagIds, tagIdTmp)/>
201 </#list>
202 </#if>
203 </#list>
204
205 <#assign addTagId = ''/>
206 <#assign addLongTagId = 0/>
207 <#if renderRequest.getOriginalHttpServletRequest().getParameter('tagId')??>
208 <#assign addTagId = renderRequest.getOriginalHttpServletRequest().getParameter('tagId')?html/>
209 <#assign addLongTagId = getterUtil.getLong(addTagId)/>
210 </#if>
211
212 <#list stringUtil.split(omitTagsData, ",") as tag>
213 <#if tag?length gt 0>
214 <#assign omitTagNameTmp = [tag?trim]/>
215 <#list groupIds as longGroupId>
216 <#assign omitTagIdTmp = ujCustomAssetHelper.getTagIds(longGroupId, omitTagNameTmp)/>
217 <#assign omitTagIds = arrayUtil.append(omitTagIds, omitTagIdTmp)/>
218 </#list>
219 </#if>
220 </#list>
221
222<#-----------Pagination variables----------->
223 <#if iloscNaStronie == 0>
224 <#assign iloscNaStronie = 5/>
225 </#if>
226 <#assign strona = 1/>
227
228 <#if renderRequest.getOriginalHttpServletRequest().getParameter('strona')??>
229 <#assign strona = getterUtil.getInteger(renderRequest.getOriginalHttpServletRequest().getParameter('strona')?html)/>
230 </#if>
231
232 <#assign iloscWszystkich = ujCustomAssetHelper.getAssetsFromGroupsCount(groupIds, typeData, categoryIds, omitCategoryIds, tagIds, omitTagIds, null, null, null, null, .now?date)/>
233
234 <#assign iloscStron = (iloscWszystkich/iloscNaStronie)?ceiling/>
235
236 <#if strona gt iloscStron>
237 <#assign strona = iloscStron/>
238 </#if>
239 <#assign indeksPoczatkowy = iloscNaStronie*(strona - 1)/>
240 <#assign indeksKoncowy = indeksPoczatkowy + iloscNaStronie/>
241
242 <#assign assets = ujCustomAssetHelper.getAssetsFromGroups(groupIds, typeData, categoryIds, omitCategoryIds, tagIds, omitTagIds, sortByData,
243 "title","DESC","ASC", null, null, null, null, .now?date, indeksPoczatkowy, indeksKoncowy)/>
244
245 <#if addLongTagId gt 0>
246 <p>Wyniki sortowane według etykiety: <strong>${assetTagService.getTag(addLongTagId).getName()}</strong> </p>
247 </#if>
248
249 <section class="main-content" id="main-content" tabindex="-1">
250
251 <#if titleData?has_content>
252 <div class="page-sub-heading">
253 <h2 class="page-sub-heading__title">${titleData}</h2>
254 </div>
255 </#if>
256 <#-----------Select articles by groupId----------->
257 <#if !hideData?contains('groupFilter')>
258 <#if groupsListFilter?size gt 1>
259 <form id="articlesFilter" name="formArticlesFilter" class="jsForm" action="${currentUrl}" method="post" onsubmit="">
260
261 <select name="groupFilter" id="groupFilter" class="jsFormSelect " data-placeholder="${langFilter}">
262 <option value=""></option>
263 <option value="all" <#if groupFilter == 'all'> selected='selected' </#if>>${langAll}</option>
264 <#list groupsListFilter as g>
265 <#assign grupa = groupService.getGroup(getterUtil.getLong(g))/>
266 <option value="${g}" <#if g?string == groupFilter> selected='selected' </#if>>
267 <#--special case on english site-->
268 <#if longGroupId == 16167284>
269 <#if g == 757404>Archive new
270 <#elseif g == 16167284>Current news
271 <#else>${grupa.getDescriptiveName()}
272 </#if>
273 <#else>
274 ${grupa.getDescriptiveName()}
275 </#if>
276 </option>
277 </#list>
278 </select>
279 <input type="hidden" name="tagId" value="${addTagId}"/>
280 </form>
281 </#if><#--end of form-->
282 </#if><#--end of checking hiding-->
283
284 <script type="text/javascript">
285 jQuery('select').change(function() {
286 jQuery(this).parent('form').submit();
287 });
288 </script>
289
290 <#-----------End of select articles by groupId----------->
291 <div class="_cf">
292 <#if assets?size == 0>
293 ${noResultData}
294 <#else>
295 <#-- starts omit articles from configuration field-->
296 <#assign omitArticleIds = getterUtil.getLongValues(omitArticleIdsData?split(","))/>
297 <#assign omitArticleIdsList = []/>
298 <#if omitArticleIds?size gt 0>
299 <#list omitArticleIds as oArticleId>
300 <#assign omitArticleIdsList = omitArticleIdsList + [oArticleId?string]/>
301 </#list>
302 </#if>
303
304 <#list assets as asset>
305 <#assign
306 articleId = ""
307 articleTitle = ""
308 articleDescription = ""
309 artImgJson = ""
310 imgDescription = ""
311 articleGroupId = ""
312
313 articleResource = journalArticleResourceService.getArticleResource(asset.getClassPK())
314 article = journalArticleService.getArticle(articleResource.getGroupId(), articleResource.getArticleId())
315 articleGroupId = article.getGroupId()
316 articleId = article.getArticleId()
317 />
318
319 <#assign artStructureValues = ujJournalArticleHelper.getFormValues(article, portletRequest)/>
320 <#if !omitArticleIdsList?seq_contains(articleId)>
321 <#-- Artykul z rozwijana trescia -->
322 <#if article.getDDMTemplateKey() == ''><#--#TODO poprawne templateId-->
323 <#assign
324 articleTitle = artStructureValues["title"]
325 articleDescription = artStructureValues["streszczenie"]
326 artImgJson = artStructureValues["imgSrc"]
327 />
328 <#-- Szablon WCAG - Deklaracja Zgodności (dev) || Szablon WCAG - Deklaracja Zgodności (prod)) -->
329 <#elseif article.getDDMTemplateKey() == '' || article.getDDMTemplateKey() = ''>
330 <#assign
331 articleTitle = artStructureValues["title"]
332 articleDescription = artStructureValues["description"]
333 artImgJson = artStructureValues["imgSrc"]
334 />
335 <#-- if tytul w strutkuturze (powinien być tylko szablon Artykułu uniwersalnego templateId== '82670971' -->
336 <#else>
337 <#assign
338 articleTitle = artStructureValues["tytul"]
339 articleTitle = articleTitle?replace('\"', '"', 'r')
340 articleDescription = artStructureValues["streszczenie"]
341 articleDescription = articleDescription?replace('\"', '"', 'r')
342 />
343 </#if>
344
345 <#if !articleTitle?has_content>
346 <#assign articleTitle = article.getUrlTitle()/>
347 </#if>
348 <#if !articleDescription?has_content>
349 <#assign articleDescription = article.getDescription()/>
350 </#if>
351 <#-----------Tags from the current journalArticle----------->
352 <#assign model = 'com.liferay.journal.model.JournalArticle'/>
353 <#assign tags = assetTagService.getTags(model, getterUtil.getLong(asset.getClassPK()))/>
354
355 <#assign articleUrl = htmlUtil.escape("${adresStrony}/-/journal_content/${portletId}/${articleGroupId}/${articleId}")/>
356
357 <div class="post-excerpt">
358 <#if !hideData?contains('abstractImg')>
359 <#if artStructureValues["grafikaLista"]??>
360 <#assign artImgJson = artStructureValues["grafikaLista"]/>
361 <#if artImgJson?has_content && artImgJson?length gt 2>
362 <#assign artImgUrl = ujDocumentLibraryHelper.getFileEntryDownloadURL(artImgJson)/>
363
364 <#if ujDocumentLibraryHelper.getFileEntry(artImgJson)??>
365 <#assign fileEntry = ujDocumentLibraryHelper.getFileEntry(artImgJson) />
366
367 <#if fileEntry.getDescription()??>
368 <#assign imgDescription = fileEntry.getDescription()/>
369 <#else>
370 <#assign imgDescription = articleTitle/>
371 </#if>
372 </#if>
373 <#-- <#attempt>-->
374 <#-- <#assign imgDescription = ujDocumentLibraryHelper.getFileEntry(artImgJson).getDescription()/>-->
375 <#-- <#recover>-->
376 <#-- <#assign imgDescription = articleTitle/>-->
377 <#-- </#attempt>-->
378 <div class="post-excerpt__image">
379 <a href="${articleUrl}" title="${articleTitle}">
380 <img src="${artImgUrl}" class="thumb" alt="${imgDescription}">
381 </a>
382 </div>
383 </#if> <#-- End of checking thumb -->
384 </#if> <#-- End of checking given structure contains 'grafikaList' -->
385 </#if> <#-- End of checking hiding -->
386
387 <div <#if artImgJson?has_content && artImgJson != '{}' && !hideData?contains('abstractImg')> class="post-excerpt__text-container" <#else> class="post-excerpt post-excerpt--condensed" </#if>>
388 <#-----------Show organizational source of articles----------->
389 <#if groupIds?size gt 0 && asset.getGroupId() != longGroupId>
390 <div class="post-excerpt__category">
391 <#assign grupa = groupService.getGroup(asset.getGroupId())/>
392 ${grupa.getDescriptiveName()}
393 </div>
394 </#if>
395
396 <#if !hideData?contains('abstractTag')>
397 <#if tags?size gt 0>
398 <div class="post-excerpt__category">
399 <#list tags as tag>
400 <#if tag.getName() != 'polska' && tag.getName() != 'mobilna'>${tag.getName()}</#if>
401 </#list>
402 </div>
403 </#if>
404 </#if> <#-- End of checking hiding -->
405
406 <h3 class="post-excerpt__title">
407 <a href="${articleUrl}">${articleTitle}</a>
408 </h3>
409
410 <#if !hideData?contains('abstractDate')>
411 <div class="post-excerpt__sub-title">
412 <#if sortByData == 'createDate'>${dateUtil.getDate(article.getCreateDate(), "dd.MM.yyyy", locale, timeZoneUtil.getDefault())}
413 <#elseif sortByData == 'publishDate'>${dateUtil.getDate(article.getDisplayDate(), "dd.MM.yyyy", locale, timeZoneUtil.getDefault())}
414 <#elseif sortByData == 'modifiedDate'>${dateUtil.getDate(article.getModifiedDate(), "dd.MM.yyyy", locale, timeZoneUtil.getDefault())}
415 </#if>
416 </div>
417 </#if> <#-- End of checking hiding -->
418
419 <#if !hideData?contains('abstractText')>
420 <#if articleDescription?has_content>
421 <div class="post-excerpt__text">
422 ${articleDescription}
423 </div>
424 </#if>
425 </#if><#-- End of checking hiding -->
426
427 <#if !hideData?contains('abstractLinkMore')>
428 <a href="${articleUrl}" class="post-excerpt__link">
429 ${langReadMore} <span class="invisible-element">o ${articleTitle}</span>
430 </a>
431 </#if><#-- End of checking hiding -->
432 </div>
433 </div>
434 </#if><#-- End of omitting artiles Id -->
435 </#list><#-- End of list assets -->
436
437 <#--------- PAGINATION ---------->
438 <#if hidePaginationData == "true">
439 <div class="post-excerpt__show_all_articles">
440 <a href="${adresStrony}" class="post-excerpt__show_all">
441 ${langViewAll}
442 </a>
443 </div>
444 <#else>
445 <#if iloscStron gt 1>
446 <#assign url = ''/>
447 <#if request?? && request?has_content>
448 <#assign url = themeDisplay.getPortalURL() + themeDisplay.getURLCurrent()/>
449 </#if>
450 <#if addTagId?has_content && addTagId?length gt 0>
451 <#assign url = httpComponentsUtil.addParameter(url, "tagId", addTagId)/>
452 </#if>
453 <#if groupFilter?has_content && groupFilter?length gt 0>
454 <#assign url = httpComponentsUtil.addParameter(url, "groupFilter", groupFilter)/>
455 </#if>
456
457 <#macro displayPage url s strona hide1 hide2>
458 <#if s == strona>
459 <li class="active">
460 <span class="invisible-element">Aktualna strona</span> ${s}
461 </li>
462 <#else>
463 <li <#if hide1?has_content && hide1 gt 0 && s == hide1 || hide2?has_content && hide2 gt 0 && s == hide2> class="hide-view-lt480"</#if>>
464 <a href="${httpComponentsUtil.setParameter(url, "strona", s)}">
465 <span class="invisible-element">Strona</span> ${s}
466 </a>
467 </li>
468 </#if>
469 </#macro>
470
471 <#if iloscStron gt 1>
472 <nav role="navigation" class="pagination" aria-label="Paginacja">
473 <ul class="pagination__list">
474 <#if iloscStron lt 8>
475 <#list 1..iloscStron as s>
476 <@displayPage url=currentRenderUrl s=s strona=strona hide1=-1 hide2=-1/>
477 </#list>
478 <#elseif strona lt 5>
479 <#list 1..6 as s>
480 <@displayPage url=currentRenderUrl s=s strona=strona hide1=6 hide2=-1/>
481 </#list>
482 <li>
483 <span aria-hidden="true">...</span>
484 </li>
485
486 <li>
487 <a href="${httpComponentsUtil.setParameter(currentRenderUrl, 'strona', iloscStron)}">
488 <span class="invisible-element">Strona</span>
489 ${iloscStron}
490 </a>
491 </li>
492 <#elseif strona + 4 gt iloscStron>
493 <li>
494 <a href="${httpComponentsUtil.setParameter(currentRenderUrl, 'strona', 1)}">
495 <span class="invisible-element">Strona</span>
496 1
497 </a>
498 </li>
499 <li>
500 <span aria-hidden="true">...</span>
501 </li>
502 <#assign x = iloscStron - 5/>
503 <#list x..iloscStron as s>
504 <@displayPage url=currentRenderUrl s=s strona=strona hide1=x hide2=-1/>
505 </#list>
506 <#else>
507 <li>
508 <a href="${httpComponentsUtil.setParameter(currentRenderUrl, 'strona', 1)}">
509 <span class="invisible-element">Strona</span>
510 1
511 </a>
512 </li>
513 <li>
514 <span aria-hidden="true">...</span>
515 </li>
516 <#assign x = strona - 2/>
517 <#assign y = strona + 2/>
518 <#list x..y as s>
519 <@displayPage url=url s=s strona=strona hide1=x hide2=y/>
520 </#list>
521 <li>
522 <span aria-hidden="true">...</span>
523 </li>
524 <li><a href="${httpComponentsUtil.setParameter(currentRenderUrl,'strona',iloscStron)}">${iloscStron}</a>
525 </li>
526 </#if>
527 </ul>
528 <div class="pagination__arrows">
529 <#if strona gt 1>
530 <#assign poprzednia = strona - 1/>
531 <a class="pagination__prev" href="${httpComponentsUtil.setParameter(currentRenderUrl, 'strona', poprzednia)}">
532 <i aria-hidden="true" class="icon icon-angle-left"></i>
533 <span class="invisible-element">${languageUtil.get(locale, "previous")}</span>
534 </a>
535 </#if>
536 <#if strona lt iloscStron>
537 <#assign nastepna = strona + 1/>
538 <a class="pagination__next" href="${httpComponentsUtil.setParameter(currentRenderUrl, 'strona', nastepna)}">
539 <i aria-hidden="true" class="icon icon-angle-right"></i>
540 <span class="invisible-element">${languageUtil.get(locale, "next")}</span>
541 </a>
542 </#if>
543 </div>
544 </nav>
545 </#if> <#-- End of pagination-->
546 </#if> <#-- End of checking if hidePagination is true -->
547 </#if> <#-- End of checking whether assets exists-->
548 </#if>
549 </div> <#-- End of _cf-->
550 </section> <#-- End of main_content-->
551<#else>
552 <#if permissionChecker.getUserId() gt 100000>
553 <p>Ten szablon przeznaczony jest tylko dla dedykowanej skórki UJ</p>
554 </#if>
555</#if>