Changes for page Home

Last modified by Administrateur local on 2026/03/01 15:03

From version 15.1
edited by Administrateur local
on 2026/02/23 10:27
Change comment: There is no comment for this version
To version 22.1
edited by Administrateur local
on 2026/02/28 15:13
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -38,7 +38,7 @@
38 38  {{hardis-custom-table noBorder="true" alignment="center" atlassian-macro-output-type="INLINE"}}
39 39  (% style="margin-left:auto; margin-right:auto" %)
40 40  |(% colspan="5" %)(((
41 -[[~[~[image:Workvivo.png~|~|width="250"~]~] >>url:https://hardis-group.workvivo.com/]]
41 +[[~[~[image:Workvivo.png~|~|width="250"~]~]>>url:https://hardis-group.workvivo.com/]] [[~[~[image:confluence.png~|~|height="60" width="296"~]~]>>url:https://docs.hardis-group.com/]]
42 42  )))
43 43  | | | | |
44 44  |(((
confluence.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.adminlocal
Size
... ... @@ -1,0 +1,1 @@
1 +41.9 KB
Content
XWiki.JavaScriptExtension[0]
Code
... ... @@ -1,11 +1,23 @@
1 -function fixExternalLinks() {
1 +function fixOpenLinksInNewTab()
2 +{
2 2   var nodes = document.querySelectorAll('.wikiexternallink a');
3 - for(var i=0; i< nodes.length; i++){
4 + for(var i=0; i< nodes.length; i++)
5 + {
4 4   var link = nodes[i];
5 - if (link.hasAttribute('target') == false) {
7 + if (link.hasAttribute('target') == false)
8 + {
6 6   link.setAttribute('target', '_blank');
7 7   }
8 8   }
12 + var nodes = document.querySelectorAll('.wikiattachmentlink a');
13 + for(var i=0; i< nodes.length; i++)
14 + {
15 + var link = nodes[i];
16 + console.log('hardis link:' + link)
17 + if (link.hasAttribute('target') == false)
18 + {
19 + link.setAttribute('target', '_blank');
20 + }
21 + }
9 9  }
10 -document.addEventListener("DOMContentLoaded", fixExternalLinks);
11 -
23 +document.addEventListener("DOMContentLoaded", fixOpenLinksInNewTab);
Name
... ... @@ -1,1 +1,1 @@
1 -Open external link in new tab
1 +Open link in new tab