Changes for page Menu content

Last modified by Ricardo Julio Rodríguez Fernández on 2026/06/12 19:48

From version 1.11
edited by Ricardo Julio Rodríguez Fernández
on 2024/08/17 09:59
Change comment: There is no comment for this version
To version 1.4
edited by Ricardo Julio Rodríguez Fernández
on 2024/08/16 22:55
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -8,7 +8,7 @@
8 8  ## Page displayed all menu content, all menu entries in flat way
9 9  #set($MenuContentDoc=$xwiki.getDocument("CustomExtension.TopPanelMenu.Content.WebHome"))
10 10  ## Main summary page (target of 'Main summary' link), include of previous doc ("CustomExtension.TopPanelMenu.Content.WebHome")
11 -#set($MenuSommaireGalDoc=$xwiki.getDocument("CustomExtension.TopPanelMenu.MainSummary.WebHome"))
11 +##set($MenuSommaireGalDoc=$xwiki.getDocument("CustomExtension.TopPanelMenu.MainSummary.WebHome"))
12 12  #set($useMainWiki = false)
13 13  ## Menu display in flat way on CustomExtension.TopPanelMenu.Content.WebHome page
14 14  #if ($doc.fullName == "CustomExtension.TopPanelMenu.Content.WebHome")
... ... @@ -120,9 +120,7 @@
120 120   #end
121 121   ## End of all columns (children pages of col-xx)
122 122   #set ($MyPanel=${MyPanel} + '</div>') ##Fin de "row top-menu-row" (OK)
123 - #if($hasAdmin)
124 124   #set ($MyPanel=${MyPanel} + '<a href="' + $services.rendering.escape($escapetool.xml($xwiki.getURL("$MenuSommaireGalDoc", 'view')), $doc.syntax) + '" class="GoToSommaire" type="button" title="' + $services.localization.render("CustomExtension.TopPanelMenu.Content.GoToSummary") +'">' + $services.localization.render("CustomExtension.TopPanelMenu.Content.Summary") + '</a>')
125 - #end
126 126   #set ($MyPanel=${MyPanel} + '</div>') ##End of "tab-pane fade" (OK)
127 127   #end
128 128  #end