<@cTpl> <#assign portletAnchor = 'portlet_' + portlet_id?c> <#assign paginationBaseUrl = site_path + '?page_id=' + portlet.pageId?c + '&' + min_display_parameter + '='> <@cSection class='portlet portlet-whatsnew ${device_class!}' id=portletAnchor> <#if portlet_name??> <@cTitle level=2 class='portlet-header'>${portlet_name} <@cBlock class='portlet-content'> <#if total == 0> <@cText class='fst-italic'>#i18n{whatsnew.portlet.noElement} <#else> <@chList class='list-unstyled'> <#list elements as element> <@chItem class='mb-3'> <@cLink href=site_path + element.url label=element.title target='_top' class='fw-bold' /> <@cText class='mb-0 fst-italic'>${element.type} <#if element.description?has_content> <@cText class='mb-0'>${element.description} <@cText class='mb-0'>${element.date_update} <#assign paginationLabel><#if min_display == max_display>[${min_display} / ${total}]<#else>[${min_display}-${max_display} / ${total}] <@cBlock class='text-end'> <#if min_display gt 1> <#assign previousUrl = paginationBaseUrl + previous_min?c + '#' + portletAnchor> <@cLink href=previousUrl label='#i18n{whatsnew.portlet.previous}' target='_top' /> <@cInline>${paginationLabel} <#if max_display lt total> <#assign nextUrl = paginationBaseUrl + next_min?c + '#' + portletAnchor> <@cLink href=nextUrl label='#i18n{whatsnew.portlet.next}' target='_top' />