Изменения документа MainMenu2


<
От версии < 6.1 >
отредактировано Andrey Shilin
на 2025/11/10 15:21
К версии < 3.1 >
отредактировано Andrey Shilin
на 2025/04/18 16:10
>
Изменить комментарий: Imported from XAR

Комментарий

Подробности

Свойства страницы
Содержимое
... ... @@ -14,11 +14,7 @@
14 14   #end
15 15  #end
16 16  *
17 -#if($doc.getDocumentReference().toString().contains('О проекте.WebHome'))
18 -* [[**$services.localization.render('suz.menu.О_проекте')**>>doc:xwiki:О проекте.WebHome]]
19 -#else
20 -* [[$services.localization.render('suz.menu.О_проекте')>>doc:xwiki:О проекте.WebHome]]
21 -#end
17 +* [[$services.localization.render('suz.menu.О_проекте')>>doc:xwiki:О проекте.WebHome||target="_blank"]]
22 22  ##* [[~[~[image:icon:house~]~] $services.localization.render('suz.menu.Главная')>>doc:Main.WebHome]]
23 23  *
24 24  ##* $services.localization.render('suz.menu.Домены'):
... ... @@ -27,11 +27,7 @@
27 27  ##end
28 28  #if($xwiki.exists('xwiki:Для экспертов.WebHome'))
29 29   #if($xwiki.getDocument('xwiki:Для экспертов.WebHome'))
30 - #if($doc.getDocumentReference().toString().contains('Для экспертов.WebHome'))
31 -* [[**$services.localization.render('suz.menu.Для_экспертов')**>>doc:xwiki:Для экспертов.WebHome||target="_blank"]]
32 - #else
33 33  * [[$services.localization.render('suz.menu.Для_экспертов')>>doc:xwiki:Для экспертов.WebHome||target="_blank"]]
34 - #end
35 35  *
36 36   #end
37 37  #end
... ... @@ -45,11 +45,7 @@
45 45  #set ($currentLevel = $levelUp)
46 46   #set($pageLink = "Main.WebHome")
47 47  #end
48 -#if($doc.getDocumentReference().toString().contains('Main.WebHome')) ##выделять жирным, если открыт раздел
49 - #set($currentDomain = "* [[**"+$services.localization.render('suz.menu.О_домене')+"**>>doc:"+$pageLink+"]]")
50 -#else
51 - #set($currentDomain = "* [["+$services.localization.render('suz.menu.О_домене')+">>doc:"+$pageLink+"]]")
52 -#end
40 +#set($currentDomain = "* [[**"+$services.localization.render('suz.menu.О_домене')+">>doc:"+$pageLink+"]]**")
53 53  $currentDomain
54 54  *
55 55  #foreach ($section in $sections)
... ... @@ -74,8 +74,5 @@
74 74   #end
75 75   #end
76 76  #end
77 -#if ($services.user.group.getGroups($xcontext.userReference, $NULL, false).contains($services.model.resolveDocument('xwiki:XWiki.NewFeature')))
78 -* [[Для разработчиков>>developing:Main.WebHome]]
79 -#end
80 80  ## *
81 81  {{/velocity}}
XWiki.StyleSheetExtension[0]
Политика кеширования
... ... @@ -1,1 +1,0 @@
1 -long
Код
... ... @@ -1,5 +1,0 @@
1 -#if ($services.user.group.getGroups($xcontext.userReference, $NULL, false).contains($services.model.resolveDocument('xwiki:XWiki.NewFeature')) && $xwiki.exists('developing:Main.WebHome'))
2 -#menu-horizontal-SUZ-Menu-MainMenu2-WebHome ul li:last-child {
3 - float: right;
4 -}
5 -#end
Content Type
... ... @@ -1,1 +1,0 @@
1 -CSS
Разбор содержимого
... ... @@ -1,1 +1,0 @@
1 -1
Использовать это расширение
... ... @@ -1,1 +1,0 @@
1 -always
XWiki.UIExtensionClass[0]
Cached
... ... @@ -1,1 +1,0 @@
1 -Нет
Asynchronous rendering
... ... @@ -1,1 +1,0 @@
1 -Нет

Содружество стран

Языки