Aktuality - Tiskový servis

Aktuality

Při zpracování šablony došlo k chybě.
Macro "printClanekAsArticlePreviewListItem" has no parameter with name "journalArticle".

----
FTL stack trace ("~" means nesting-related):
	- Failed at: @macros.printClanekAsArticlePreviewLi...  [in template "20097#20123#317821" at line 13, column 17]
----
1<#include "${templatesPath}/COMMON_SETUP" /> 
2 
3<#if entries?has_content> 
4    <#-- Na prvej stranke zobrazujeme pripnute clanky, takze len tam nebudeme taketo clanky zobrazovat v sezname --> 
5    <#assign doNotShowIfPinned = macros.getPageNumber() == 1 /> 
6    <ul class="bno-list--plain"> 
7        <#list entries as entry> 
8            <#if entry.getAssetRenderer()??> 
9                <#assign 
10                    renderer = entry.getAssetRenderer() 
11                    journalArticle = renderer.getArticle() 
12                /> 
13                <@macros.printClanekAsArticlePreviewListItem journalArticle=journalArticle perexLength=0 doNotShowIfPinned=doNotShowIfPinned imageWidth=200 imageHeight=100 doNotShowAlt=true id=("clanek-" + (entry?index + 1)) /> 
14            </#if> 
15        </#list> 
16    </ul> 
17</#if> 

Metropolitan