Changes for page Menu content
Last modified by Ricardo Julio Rodríguez Fernández on 2026/06/12 19:48
From version 2.1
edited by Ricardo Julio Rodríguez Fernández
on 2026/06/12 19:09
on 2026/06/12 19:09
Change comment:
There is no comment for this version
To version 1.10
edited by Ricardo Julio Rodríguez Fernández
on 2024/08/16 23:17
on 2024/08/16 23:17
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -63,11 +63,11 @@ 63 63 ## <!-- Tabs --> 64 64 #set ($MyTabStr=${MyTabStr} + '<ul id="top-menu-tabs" class="nav nav-tabs navbar-inverse">') 65 65 ## HOME icon 66 -#set ($MyTabStr=${MyTabStr} + '<li class="menu-panel"><a href="' + $services.rendering.escape($escapetool.xml($xwiki.getURL(' Home.About.WebHome', 'view')), $doc.syntax) + '" title="' + $services.localization.render('CustomExtension.TopPanelMenu.Content.Home.Icon') +'"><span class="glyphicon glyphicon-home"> </span></a></li>')66 +#set ($MyTabStr=${MyTabStr} + '<li class="menu-panel"><a href="' + $services.rendering.escape($escapetool.xml($xwiki.getURL('Main.WebHome', 'view')), $doc.syntax) + '" title="' + $services.localization.render('CustomExtension.TopPanelMenu.Content.Home.Icon') +'"><span class="glyphicon glyphicon-home"> </span></a></li>') 67 67 ## Columns 68 68 #set ($MyColumns='') 69 69 #set ($MyPanel='') 70 -#set($children = $ collectiontool.sort($MenuContentDoc.getChildren()))70 +#set($children = $sorttool.sort($MenuContentDoc.getChildren())) 71 71 #foreach ($child in $children) 72 72 #set($MyDoc=$xwiki.getDocument($child)) 73 73 ## Page name and title ... ... @@ -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 - #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 123 +## #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>') 126 126 #set ($MyPanel=${MyPanel} + '</div>') ##End of "tab-pane fade" (OK) 127 127 #end 128 128 #end