Изменения документа MainMenu
Изменить комментарий:
Imported from XAR
Комментарий
-
Свойства страницы (2 изменено, 0 добавлено, 0 удалено)
-
Объекты (1 изменено, 0 добавлено, 0 удалено)
Подробности
- Свойства страницы
-
- Автор документа
-
... ... @@ -1,1 +1,1 @@ 1 -xwiki:XWiki.sh ilin1 +xwiki:XWiki.mishael - Содержимое
-
... ... @@ -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