Changes for page Hjem

Last modified by Normann P. Nielsen on 2026/11/20 07:06

From version 20.1
edited by Normann P. Nielsen
on 2026/11/17 21:48
Change comment: There is no comment for this version
To version 19.1
edited by Normann P. Nielsen
on 2026/11/17 21:47
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -27,21 +27,14 @@
27 27  ")
28 28  
29 29  #set ($query = $services.query.hql($hql))
30 -#set ($discard = $query.setLimit(100))
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 36  #foreach ($pageName in $pages)
37 - #if ($count < 10)
38 - #set ($page = $xwiki.getDocument($pageName))
39 - #set ($tags = $services.tag.getTagsForDocument($pageName))
40 -
41 - #if ($page.hasAccessLevel('view') && !$tags.contains('noshow'))
35 + #set ($page = $xwiki.getDocument($pageName))
36 + #if ($page.hasAccessLevel('view'))
42 42  |[[${page.title}>>${page.fullName}]]|$datetool.format('dd-MM-yyyy', $page.creationDate)
43 - #set ($count = $count + 1)
44 - #end
45 45   #end
46 46  #end
47 47  {{/velocity}}
... ... @@ -59,6 +59,7 @@
59 59  |[[HumanFactor2.drawio>>Main.atlassian.atlassian-jira.creating-workflows-in-jira-from-a-practical-perspective.humanfactor2-drawio.WebHome]]|15-11-2026
60 60  |[[HumanFactor1.drawio>>Main.atlassian.atlassian-jira.creating-workflows-in-jira-from-a-practical-perspective.humanfactor1-drawio.WebHome]]|15-11-2026
61 61  
55 +
62 62  
63 63  )))
64 64