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

Редактировал(а) Alexey Semenihin 23.10.2026, 15:12

От версии 3.1
отредактировано Alexey Semenihin
на 23.10.2026, 15:12
Изменить комментарий: Install extension [org.xwiki.platform:xwiki-platform-administration-ui/17.10.12]
К версии 2.1
отредактировано Dmitriy Rybakov
на 04.10.2024, 00:09
Изменить комментарий: Install extension [org.xwiki.platform:xwiki-platform-administration-ui/15.10.12]

Сводка

Подробности

Свойства страницы
Автор документа
... ... @@ -1,1 +1,1 @@
1 -XWiki.semenihinaa
1 +XWiki.rybakovds
Содержимое
... ... @@ -33,10 +33,7 @@
33 33   #if ($isEditing)
34 34   ## This is used as a template on the client side when a new path is added.
35 35   <li class="path hidden">
36 - #set ($label = $escapetool.xml($services.localization.render("administration.templateProvider.${property}.remove")))
37 - <button type="button" class="btn btn-xs btn-link path-delete" title="$label"
38 - ><span class="sr-only">$label</span
39 - >$services.icon.renderHTML('delete')</button>
36 + <a href="#path-delete" class="path-delete">$services.icon.renderHTML('delete')</a>
40 40   <input type="hidden" name="XWiki.TemplateProviderClass_0_$property" disabled="disabled" />
41 41   <ol class="breadcrumb">
42 42   <li class="loading"></li>
... ... @@ -44,10 +44,7 @@
44 44   </li>
45 45   <li class="path-add">
46 46   <input type="hidden" name="XWiki.TemplateProviderClass_0_$property" value="" />
47 - #set ($label = $escapetool.xml($services.localization.render("administration.templateProvider.${property}.add")))
48 - <button type="button" class="btn btn-xs btn-link path-add" title="$label"
49 - ><span class="sr-only">$label</span
50 - >$services.icon.renderHTML('add')</button>
44 + <a href="#path-add">$services.icon.renderHTML('add')</a>
51 51   </li>
52 52   #end
53 53   </ul>
XWiki.StyleSheetExtension[0]
Код
... ... @@ -23,7 +23,8 @@
23 23  }
24 24  
25 25  .templateProviderSheet .paths .path-delete {
26 - margin-top: 6px;
26 + cursor: pointer;
27 + margin-top: 8px;
27 27   position: absolute;
28 28   right: 30px;
29 29  }