Wiki source code of Favorites

Last modified by Yana Oksner on 2025/10/02 15:36

Show last authors
1 {{velocity}}
2
3 $!services.localization.render('favorites.help.description')
4
5
6 ## Show the button to edit the default PreferedLinkedTools list (only for admins)
7 #if ($hasAdmin)
8 #set ($discard = $xwiki.jsfx.use('uicomponents/suggest/suggestPropertyValues.js', {'forceSkinAction': true, 'language': $xcontext.locale}))
9 #set ($discard = $xwiki.linkx.use($services.webjars.url('selectize.js', 'css/selectize.bootstrap3.css'),
10 {'type': 'text/css', 'rel': 'stylesheet'}))
11 #set ($discard = $xwiki.ssfx.use('uicomponents/suggest/xwiki.selectize.css', true))
12 #set ($discard = $xwiki.ssx.use("Favorites.Code.FavoritesSheet"))
13 #set ($discard = $xwiki.jsx.use("Favorites.Code.FavoritesSheet"))
14
15 {{html}}
16 <a type="button" rel="" href="javascript:;" class="btn btn-success editFavorites">
17 <span class="glyphicon glyphicon-edit" aria-hidden="true"></span>
18 $!services.localization.render('favorites.default.actions_edit')
19 </a>
20 {{/html}}
21 #end
22 {{/velocity}}