Changes for page Hjem
Last modified by Normann P. Nielsen on 2026/11/20 07:06
From version 37.1
edited by Normann P. Nielsen
on 2026/11/18 18:49
on 2026/11/18 18:49
Change comment:
There is no comment for this version
To version 40.1
edited by Normann P. Nielsen
on 2026/11/18 18:50
on 2026/11/18 18:50
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -4,8 +4,9 @@ 4 4 5 5 [[image:Familie-color.png||data-xwiki-image-style-alignment="center"]] 6 6 7 + 7 7 {{container layoutStyle="columns"}} 8 -((( 9 +((( 9 9 = Nyeste Blogs = 10 10 11 11 {{velocity}} ... ... @@ -17,21 +17,20 @@ 17 17 ## 18 18 (% class="recent-blogs" %) 19 19 |=Blog post|=Created 20 -#foreach ($pageName in $pages) ##21 -#if ($count < 10) ##22 -#set ($canView = $xwiki.hasAccessLevel('view', $context.user, $pageName)) ##23 -#if ($canView) ##24 -#set ($tags = $services.tag.getTagsForDocument($pageName)) ##25 -#if (!$tags.contains('noshow')) ##26 -#set ($page = $xwiki.getDocument($pageName)) ##21 +#foreach ($pageName in $pages) 22 +#if ($count < 10) 23 +#set ($canView = $xwiki.hasAccessLevel('view', $context.user, $pageName)) 24 +#if ($canView) 25 +#set ($tags = $services.tag.getTagsForDocument($pageName)) 26 +#if (!$tags.contains('noshow')) 27 +#set ($page = $xwiki.getDocument($pageName)) 27 27 |[[${page.title}>>${page.fullName}]]|$datetool.format('dd-MM-yyyy', $page.creationDate) 28 -#set ($count = $count + 1) ##29 -#end ##30 -#end ##31 -#end ##32 -#end ##29 +#set ($count = $count + 1) 30 +#end 31 +#end 32 +#end 33 +#end 33 33 {{/velocity}} 34 - 35 35 ))) 36 36 37 37 ((( ... ... @@ -43,26 +43,26 @@ 43 43 #set ($discard = $query.setLimit(500)) 44 44 #set ($pages = $query.execute()) 45 45 #set ($count = 0) 46 -## 46 +## 47 47 (% class="recent-pages" %) 48 48 |=Page|=Created 49 -#foreach ($pageName in $pages) ##50 -#if ($count < 10) ##51 -#set ($canView = $xwiki.hasAccessLevel('view', $context.user, $pageName)) ##52 -#if ($canView) ##53 -#set ($tags = $services.tag.getTagsForDocument($pageName)) ##54 -#if (!$tags.contains('noshow')) ##55 -#set ($page = $xwiki.getDocument($pageName)) ##49 +#foreach ($pageName in $pages) 50 +#if ($count < 10) 51 +#set ($canView = $xwiki.hasAccessLevel('view', $context.user, $pageName)) 52 +#if ($canView) 53 +#set ($tags = $services.tag.getTagsForDocument($pageName)) 54 +#if (!$tags.contains('noshow')) 55 +#set ($page = $xwiki.getDocument($pageName)) 56 56 |[[${page.title}>>${page.fullName}]]|$datetool.format('dd-MM-yyyy', $page.creationDate) 57 -#set ($count = $count + 1) ##58 -#end ##59 -#end ##60 -#end ##61 -#end ##57 +#set ($count = $count + 1) 58 +#end 59 +#end 60 +#end 61 +#end 62 62 {{/velocity}} 63 - 64 64 ))) 65 65 {{/container}} 65 + 66 66 67 67 68 68 = Besøg også disse interesseområder = ... ... @@ -106,6 +106,6 @@ 106 106 )))|[[~[~[image:deathstar-50x50.png~|~|alt="Familiebilleder" data-xwiki-image-style-alignment="center"~]~]>>doc:.familiebilleder.WebHome]]((( 107 107 (% style="text-align: center;" %) 108 108 Atlassian 109 -))) 110 110 111 111 111 +)))