Changes for page Hjem
Last modified by Normann P. Nielsen on 2026/11/20 07:06
From version 26.1
edited by Normann P. Nielsen
on 2026/11/18 18:03
on 2026/11/18 18:03
Change comment:
There is no comment for this version
To version 24.1
edited by Normann P. Nielsen
on 2026/11/18 18:02
on 2026/11/18 18:02
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -32,25 +32,25 @@ 32 32 #set ($count = 0) 33 33 34 34 (% class="recent-pages" %) 35 +<ul class=blog-post-layout-link"> 35 35 #foreach ($pageName in $pages) 36 36 #if ($count < 10) 37 37 #set ($page = $xwiki.getDocument($pageName)) 38 38 39 39 ## Check permissions for the current user 40 - #set ($canView = $xwiki.hasAccessLevel( 41 - 'view', $context.user, $pageName 42 - )) 41 + #set ($canView = $xwiki.hasAccessLevel('view', $context.user, $pageName)) 43 43 44 44 #if ($canView) 45 45 #set ($tags = $services.tag.getTagsForDocument($pageName)) 46 46 47 47 #if (!$tags.contains('noshow')) 48 - |[[${page.title}>>${page.fullName}]]|$datetool.format('dd-MM-yyyy', $page.creationDate)47 +<li><span class="blog-post-layout-link">${page.title}>>${page.fullName}]]|$datetool.format('dd-MM-yyyy', $page.creationDate)</span></li> 49 49 #set ($count = $count + 1) 50 50 #end 51 51 #end 52 52 #end 53 53 #end 53 +</ul> 54 54 {{/velocity}} 55 55 56 56