Changes for page Service Navigator
Last modified by Veronika Kocher on Friday, 09 Oct 2026 12:12
From version 24.1
edited by Veronika Kocher
on Friday, 09 Oct 2026 11:55
on Friday, 09 Oct 2026 11:55
Change comment:
There is no comment for this version
To version 23.1
edited by Veronika Kocher
on Friday, 09 Oct 2026 11:26
on Friday, 09 Oct 2026 11:26
Change comment:
There is no comment for this version
Summary
-
Objects (0 modified, 0 added, 1 removed)
Details
- XWiki.JavaScriptExtension[0]
-
- cache
-
... ... @@ -1,1 +1,0 @@ 1 -default - code
-
... ... @@ -1,163 +1,0 @@ 1 -(function () { 2 - "use strict"; 3 - 4 - function isServiceNavigatorPage() { 5 - var path; 6 - 7 - try { 8 - path = decodeURIComponent(window.location.pathname); 9 - } catch (e) { 10 - path = window.location.pathname; 11 - } 12 - 13 - return /^\/bin\/view\/Service Navigator(?:\/|$)/.test(path); 14 - } 15 - 16 - 17 - function moveLastModified() { 18 - if (!isServiceNavigatorPage()) { 19 - return; 20 - } 21 - 22 - var info = 23 - document.querySelector( 24 - ".xdocLastModification" 25 - ); 26 - 27 - var content = 28 - document.getElementById( 29 - "xwikicontent" 30 - ); 31 - 32 - if (!info || !content) { 33 - return; 34 - } 35 - 36 - if ( 37 - info.getAttribute( 38 - "data-sn-last-modified-moved" 39 - ) === "1" 40 - ) { 41 - return; 42 - } 43 - 44 - 45 - var footer = 46 - document.getElementById( 47 - "sn-last-modified-footer" 48 - ); 49 - 50 - if (!footer) { 51 - footer = 52 - document.createElement("div"); 53 - 54 - footer.id = 55 - "sn-last-modified-footer"; 56 - 57 - footer.setAttribute( 58 - "data-sn-last-modified-footer", 59 - "1" 60 - ); 61 - 62 - footer.style.cssText = [ 63 - "margin-top:34px", 64 - "padding-top:10px", 65 - "border-top:1px solid #e3ded6", 66 - "color:#8a837b", 67 - "font-size:12px", 68 - "line-height:1.45", 69 - "text-align:left", 70 - "word-spacing:normal" 71 - ].join(";"); 72 - 73 - content.appendChild( 74 - footer 75 - ); 76 - } 77 - 78 - 79 - /* 80 - * Original-XWiki-Zeile verschieben. 81 - * Nicht kopieren. 82 - */ 83 - footer.appendChild( 84 - info 85 - ); 86 - 87 - info.setAttribute( 88 - "data-sn-last-modified-moved", 89 - "1" 90 - ); 91 - 92 - info.style.setProperty( 93 - "margin", 94 - "0", 95 - "important" 96 - ); 97 - 98 - info.style.setProperty( 99 - "padding", 100 - "0", 101 - "important" 102 - ); 103 - 104 - info.style.setProperty( 105 - "font-size", 106 - "12px", 107 - "important" 108 - ); 109 - 110 - info.style.setProperty( 111 - "line-height", 112 - "1.45", 113 - "important" 114 - ); 115 - 116 - info.style.setProperty( 117 - "color", 118 - "inherit", 119 - "important" 120 - ); 121 - 122 - 123 - Array.from( 124 - info.querySelectorAll("a") 125 - ).forEach(function (link) { 126 - link.style.setProperty( 127 - "color", 128 - "inherit", 129 - "important" 130 - ); 131 - 132 - link.style.setProperty( 133 - "text-decoration", 134 - "underline", 135 - "important" 136 - ); 137 - }); 138 - } 139 - 140 - 141 - if ( 142 - document.readyState === "loading" 143 - ) { 144 - document.addEventListener( 145 - "DOMContentLoaded", 146 - moveLastModified, 147 - { once: true } 148 - ); 149 - } else { 150 - moveLastModified(); 151 - } 152 - 153 - window.setTimeout( 154 - moveLastModified, 155 - 250 156 - ); 157 - 158 - window.setTimeout( 159 - moveLastModified, 160 - 1000 161 - ); 162 - 163 -})(); - name
-
... ... @@ -1,1 +1,0 @@ 1 -Service Navigator · Last modified footer - parse
-
... ... @@ -1,1 +1,0 @@ 1 -No - use
-
... ... @@ -1,1 +1,0 @@ 1 -currentPage