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