Dokumenta Lietotāju katalogs izmaiņas
Pēdējais mainījis superadmin 2017/11/28 14:52
From empty
Uz versiju 1.1
Mainījis superadmin
2017/11/28 14:52
2017/11/28 14:52
Izmaiņu komentāri: Install extension [org.xwiki.platform:xwiki-platform-user-directory-ui/9.9]
Apkopojums
-
Lapas īpašības (5 mainīti, 0 pievienoti, 0 dzēsti)
-
Objekti (0 mainīti, 1 pievienoti, 0 dzēsti)
Detaļas
- Lapas īpašības
-
- Virsraksts
-
... ... @@ -1,0 +1,1 @@ 1 +$services.localization.render('xe.userdirectory.title') - Vecāks
-
... ... @@ -1,0 +1,1 @@ 1 +Main.WebHome - Autors
-
... ... @@ -1,1 +1,1 @@ 1 - XWiki.XWikiGuest1 +xwiki:XWiki.superadmin - Slēpts
-
... ... @@ -1,1 +1,1 @@ 1 - false1 +true - Saturs
-
... ... @@ -1,0 +1,6 @@ 1 +{{include reference='XWiki.UserDirectoryMacros'/}} 2 + 3 +{{velocity}} 4 +#displayUserDirectory(true) 5 +#set($docextras=[]) 6 +{{/velocity}}
- XWiki.JavaScriptExtension[0]
-
- Kešošanas politika
-
... ... @@ -1,0 +1,1 @@ 1 +long - Kods
-
... ... @@ -1,0 +1,40 @@ 1 +(function(){ 2 + 3 + /** 4 + * Init 5 + */ 6 + function init() { 7 + var userScope = $('userScopeFilter'); 8 + if (userScope === null) { 9 + // Nothing to do 10 + return; 11 + } 12 + userScope.observe('change', onUserScopeChange); 13 + } 14 + 15 + function onUserScopeChange(event) { 16 + var value = $('userScopeFilter').value; 17 + var livetable = window["livetable_userdirectory"]; 18 + var url = livetable.getUrl; 19 + if (url.search("userScope=") >= 0) { 20 + // Replace the old value 21 + if (value == 'local') { 22 + url = url.replace("userScope=global", "userScope=local"); 23 + } else { 24 + url = url.replace("userScope=local", "userScope=global"); 25 + } 26 + } else { 27 + url = url + "&userScope=" + value; 28 + } 29 + livetable.getUrl = url; 30 + // Reload the livetable 31 + livetable.clearCache(); 32 + livetable.showRows(1, livetable.limit); 33 + } 34 + 35 + /** 36 + * Call Init 37 + */ 38 + (XWiki && XWiki.domIsLoaded && init()) || document.observe("xwiki:dom:loaded", init); 39 + 40 +})(); - Nosaukums
-
... ... @@ -1,0 +1,1 @@ 1 +Dynamic filter for user scope - Parsēt saturu
-
... ... @@ -1,0 +1,1 @@ 1 +Nē - Izmantot šo paplašinājumu
-
... ... @@ -1,0 +1,1 @@ 1 +onDemand