Changes for page MainMenu
edited by Andrey Shilin
on 2024/08/15 11:39
on 2024/08/15 11:39
edited by Andrey Shilin
on 2025/07/10 15:52
on 2025/07/10 15:52
Change comment:
Imported from XAR
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -14,10 +14,12 @@ 14 14 * 15 15 #foreach ($section in $sections) 16 16 #if ($xwiki.exists($section+'.WebHome'))##Показывать ссылку только если существует страница 17 +#if($xwiki.getDocument($section+'.WebHome')) 17 17 #set($link = 'doc:' + $section + '.WebHome') 18 18 * [[$services.localization.render('suz.menu.' + $section)>>$link]] 19 19 #end 20 20 #end 22 +#end 21 21 * 22 22 * [[$services.localization.render('suz.menu.О_проекте')>>doc:xwiki:О проекте.WebHome||target="_blank"]] 23 23 {{/velocity}}
- XWiki.UIExtensionClass[0]
-
- Executed Content
-
... ... @@ -1,5 +1,0 @@ 1 -{{velocity}} 2 -#if ($xwiki.hasAccessLevel('view', $xcontext.user, $uix.doc.documentReference)) 3 -{{menu type="horizontal fixedWidth" id="menu-horizontal-Menu-MainMenu-WebHome"}}{{include reference="$uix.doc.documentReference" /}}{{/menu}} 4 -#end 5 -{{/velocity}} - Extension Point ID
-
... ... @@ -1,1 +1,0 @@ 1 -org.xwiki.platform.template.header.after - Extension ID
-
... ... @@ -1,1 +1,1 @@ 1 -Menu.MainMenu.WebHome 1 +SUZ.Menu.MainMenu.WebHome