Changes for page Hjem
Last modified by Normann P. Nielsen on 2026/11/20 07:06
From version 21.1
edited by Normann P. Nielsen
on 2026/11/18 17:56
on 2026/11/18 17:56
Change comment:
There is no comment for this version
To version 19.1
edited by Normann P. Nielsen
on 2026/11/17 21:47
on 2026/11/17 21:47
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -27,30 +27,14 @@ 27 27 ") 28 28 29 29 #set ($query = $services.query.hql($hql)) 30 -#set ($discard = $query.setLimit( 500))30 +#set ($discard = $query.setLimit(10)) 31 31 #set ($pages = $query.execute()) 32 -#set ($count = 0) 33 33 34 34 (% class="recent-pages" %) 35 -|=Page|=Created 36 - 37 37 #foreach ($pageName in $pages) 38 - #if ($count < 10) 39 - #set ($page = $xwiki.getDocument($pageName)) 40 - 41 - ## Check permissions for the current user 42 - #set ($canView = $xwiki.hasAccessLevel( 43 - 'view', $context.user, $pageName 44 - )) 45 - 46 - #if ($canView) 47 - #set ($tags = $services.tag.getTagsForDocument($pageName)) 48 - 49 - #if (!$tags.contains('noshow')) 35 + #set ($page = $xwiki.getDocument($pageName)) 36 + #if ($page.hasAccessLevel('view')) 50 50 |[[${page.title}>>${page.fullName}]]|$datetool.format('dd-MM-yyyy', $page.creationDate) 51 - #set ($count = $count + 1) 52 - #end 53 - #end 54 54 #end 55 55 #end 56 56 {{/velocity}} ... ... @@ -68,6 +68,7 @@ 68 68 |[[HumanFactor2.drawio>>Main.atlassian.atlassian-jira.creating-workflows-in-jira-from-a-practical-perspective.humanfactor2-drawio.WebHome]]|15-11-2026 69 69 |[[HumanFactor1.drawio>>Main.atlassian.atlassian-jira.creating-workflows-in-jira-from-a-practical-perspective.humanfactor1-drawio.WebHome]]|15-11-2026 70 70 55 + 71 71 72 72 ))) 73 73