Cambios para el documento Books

Última modificación por Jip-jan Alunkel el noviembre 23, 10:59

Desde la versión 8.26
editado por Jip-jan Alunkel
el abril 16, 21:44
Cambiar el comentario: Updated class property
Hasta la versión 8.21
editado por Jip-jan Alunkel
el abril 11, 19:42
Cambiar el comentario: Updated class property

Resumen

Detalles

Propiedades de página
Contenido
... ... @@ -1,38 +3,16 @@
1 -{{include reference="assets.formMaker.macros" /}}
2 -
3 3  {{velocity}}
4 4  #set($discard = $services.localization.use('document', 'cases.Code.translations'))
5 5  #set($discard = $services.localization.use('document', 'assets.formMaker.translations'))
6 6  #set($discard = $xwiki.ssx.use('assets.formMaker.WebHome'))
7 7  #set($discard = $xwiki.jsx.use('assets.formMaker.WebHome', {'minify' : false}))
6 +{{/velocity}}
8 8  
9 -{{html wiki="true" clean="false"}}
10 -<p>
11 11  All about books
12 -</p>
13 -<h2 class="livetable">Overview of all books</h2>
14 -<div id="livetable">
15 15  
16 -#set ($columns = ["doc.title", "author", "doc.space"])
17 -#set ($columnsProperties = {
18 - "doc.title": {"type": "text", "filterable" : true, "sortable": true, "link": "view"},
19 - "remedy" : {"type": "text", "filterable" : true, "sortable": true, "size" : 4},
20 - "doc.space" : {"type": "text", "filterable" : true, "sortable": true, "size" : 4, "link": "space"}
21 -})
22 -#set ($options = {
23 - "className" : "books.WebHome",
24 - "translationPrefix" : "books.livetable.",
25 - "queryFilters" : "currentlanguage",
26 - "rowCount": 10
27 -})
28 -#livetable("books" $columns $columnsProperties $options)
10 +{{include reference="assets.formMaker.macros" /}}
29 29  
30 -</div>
31 -<h3>Add a book to this wiki</h3>
32 -<p>
33 - Do you know of any books that can be of value to people who would like to learn more about homeopathy?
34 - Please feel free to share these books with our readers. However, to make sure your case is correctly filed in this wiki it is necessary that you answer a few simple questions about the case.
35 -</p>
12 +{{velocity}}
13 +{{html}}
36 36  
37 37  #createFormStart("homeoworld_form" "book")
38 38  
... ... @@ -60,7 +60,7 @@
60 60   "placeholder" : "Title",
61 61   "data-error-response-type" : "use_label_definite_1",
62 62   "data-query-type" : "XWQL.matchTitle",
63 - "data-query-scope" : "materia-medica",
41 + "data-query-scope" : "books",
64 64   "data-query-list-type" : "suggest-negate",
65 65   "data-query-list-header" : "$services.localization.render('formMaker.line.suggest_negate_list')",
66 66   "data-query-list-contents" : "value",