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

Редактировал(а) Jip-jan Alunkel ноября 23, 10:59

От версии 9.8
отредактировано Jip-jan Alunkel
на августа 30, 22:01
Изменить комментарий: Renamed back-links.
К версии 8.30
отредактировано Jip-jan Alunkel
на апреля 17, 23:28
Изменить комментарий: Updated class property

Сводка

Подробности

Свойства страницы
Содержимое
... ... @@ -1,9 +1,10 @@
1 -{{include reference="assets.pagemaker.macros"/}}
1 +{{include reference="assets.formMaker.macros" /}}
2 2  
3 3  {{velocity}}
4 -#set($discard = $services.localization.use('document', 'assets.pagemaker.translations'))
5 -#set($discard = $xwiki.ssx.use('assets.pagemaker.WebHome', {'minify' : false}))
6 -#set($discard = $xwiki.jsx.use('assets.pagemaker.WebHome', {'minify' : false}))
4 +#set($discard = $services.localization.use('document', 'cases.Code.translations'))
5 +#set($discard = $services.localization.use('document', 'assets.formMaker.translations'))
6 +#set($discard = $xwiki.ssx.use('assets.formMaker.WebHome'))
7 +#set($discard = $xwiki.jsx.use('assets.formMaker.WebHome', {'minify' : false}))
7 7  
8 8  {{html wiki="true" clean="false"}}
9 9  <p>
... ... @@ -10,7 +10,7 @@
10 10  All about books
11 11  </p>
12 12  <h2 class="livetable">Overview of all books</h2>
13 -<div class="livetable">
14 +<div id="livetable">
14 14  
15 15  #set ($columns = ["doc.title", "author", "doc.space"])
16 16  #set ($columnsProperties = {
... ... @@ -89,24 +89,23 @@
89 89   "type" : "checkbox",
90 90   "required" : "no",
91 91   "label" : "Extra information (optional)",
92 - "value" : "1",
93 - "data-opener" : "true"
93 + "value" : "yes"
94 94  })
95 95  #createFormElement($extra_info)
96 -#createExpandStart($extra_info "1")
97 - #set($publish_year = {
98 - "id" : "publish_year",
99 - "type" : "number",
100 - "required" : "false",
101 - "label" : "Year of publishing",
102 - "aria-label" : "Enter the year of publishing",
103 - "placeholder" : "Year",
104 - "data-error-response-type" : "use_label_definite_1",
105 - "data-create-xobj" : "true",
106 - "data-xobj-classname" : "books.WebHome",
107 - "data-xobj-fieldname" : "publish_year"
108 - })
109 - #createFormElement($publish_year)
96 +#createExpandStart("extra_info" "yes")
97 +#set($publish_year = {
98 + "id" : "publish_year",
99 + "type" : "number",
100 + "required" : "true",
101 + "label" : "Year of publishing",
102 + "aria-label" : "Enter the year of publishing",
103 + "placeholder" : "Year",
104 + "data-error-response-type" : "use_label_definite_1",
105 + "data-create-xobj" : "true",
106 + "data-xobj-classname" : "books.WebHome",
107 + "data-xobj-fieldname" : "publish_year"
108 +})
109 +#createFormElement($publish_year)
110 110  #createExpandEnd()
111 111  #set($submit = {
112 112   "id" : "create_book",