Changes for page Call Flow


From version 26.1
edited by administrator BDP
on 2019/08/30 12:51
Change comment: There is no comment for this version
To version 27.3
edited by administrator BDP
on 2025/03/03 16:25
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,5 +1,5 @@
1 1  {{box cssClass="floatinginfobox" title="**Sommario**" width="300px"}}
2 -{{toc start=2 depth="3"/}}
2 +{{toc start="2" depth="3"/}}
3 3  {{/box}}
4 4  
5 5  (% style="width:230px; padding: 5px; font-family:verdana; font-size:12px; background-color: #fafbfc;" class="box infomessage" %)
XWiki.StyleSheetExtension[0]
Caching policy
... ... @@ -1,0 +1,1 @@
1 +default
Code
... ... @@ -1,0 +1,9 @@
1 +## Hide tabs if the user is not internal or not an admin
2 +#set($currentUserGroups = $services.user.group.getGroupsFromAllWikis($xcontext.userReference))
3 +#set($internalUserGroupReference = $services.model.createDocumentReference('xwiki', ['XWiki'], 'XWikiAdminGroup'))
4 +#if (!($currentUserGroups.contains($internalUserGroupReference) || $hasAdmin))
5 + #tmMoreActions {
6 + display: none;
7 + }
8 +#end
9 +
Use this extension
... ... @@ -1,0 +1,1 @@
1 +always
Name
... ... @@ -1,0 +1,1 @@
1 +Hide More Action Menu
Parse content
... ... @@ -1,0 +1,1 @@
1 +Yes