Changes for page Books

Last modified by Jip-jan Alunkel on November 23, 10:59

From version 8.21
edited by Jip-jan Alunkel
on April 11, 19:42
Change comment: Updated class property
To version 8.22
edited by Jip-jan Alunkel
on April 11, 23:52
Change comment: Updated class property

Summary

Details

Page properties
Content
... ... @@ -5,13 +5,38 @@
5 5  #set($discard = $xwiki.jsx.use('assets.formMaker.WebHome', {'minify' : false}))
6 6  {{/velocity}}
7 7  
8 -All about books
9 9  
10 10  {{include reference="assets.formMaker.macros" /}}
11 11  
12 12  {{velocity}}
13 13  {{html}}
13 +<p>
14 +All about books
15 +</p>
16 +<h2 class="livetable">Overview of all books</h2>
17 +<div id="livetable">
14 14  
19 +#set ($columns = ["doc.title", "author", "doc.space"])
20 +#set ($columnsProperties = {
21 + "doc.title": {"type": "text", "filterable" : true, "sortable": true, "link": "view"},
22 + "remedy" : {"type": "text", "filterable" : true, "sortable": true, "size" : 4},
23 + "doc.space" : {"type": "text", "filterable" : true, "sortable": true, "size" : 4, "link": "space"}
24 +})
25 +#set ($options = {
26 + "className" : "books.WebHome",
27 + "translationPrefix" : "books.livetable.",
28 + "queryFilters" : "currentlanguage",
29 + "rowCount": 10
30 +})
31 +#livetable("books" $columns $columnsProperties $options)
32 +
33 +</div>
34 +<h3>Add a book to this wiki</h3>
35 +<p>
36 + Do you know of any books that can be of value to people who would like to learn more about homeopathy?
37 + 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.
38 +</p>
39 +
15 15  #createFormStart("homeoworld_form" "book")
16 16  
17 17  #set($booktype = {