Changes for page Books

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

From version 9.19
edited by Jip-jan Alunkel
on August 31, 21:52
Change comment: Updated class property
To version 9.29
edited by Jip-jan Alunkel
on November 20, 15:40
Change comment: Updated class property

Summary

Details

Page properties
Content
... ... @@ -1,6 +1,7 @@
1 1  {{include reference="assets.pagemaker.macros"/}}
2 2  
3 3  {{velocity}}
4 +#set($discard = $services.localization.use('document', 'assets.global.translations'))
4 4  #set($discard = $services.localization.use('document', 'assets.pagemaker.translations'))
5 5  #set($discard = $xwiki.ssx.use('assets.pagemaker.WebHome', {'minify' : false}))
6 6  #set($discard = $xwiki.jsx.use('assets.pagemaker.WebHome', {'minify' : false}))
... ... @@ -14,13 +14,13 @@
14 14  
15 15  #set ($columns = ["doc.title", "name", "doc.space"])
16 16  #set ($columnsProperties = {
17 - "doc.title": {"type": "text", "filterable" : true, "sortable": true, "link": "view"},
18 - "name" : {"type": "text", "filterable" : true, "sortable": true, "size" : 4},
19 - "doc.space" : {"type": "text", "filterable" : true, "sortable": true, "size" : 4, "link": "space"}
18 + "doc.title": {"type": "text", "filterable" : true, "sortable": true, "link": "view"},
19 + "name": {"type": "text", "filterable" : true, "sortable": true, "headerClass": "author"},
20 + "doc.space": {"type": "text", "filterable" : true, "sortable": true, "headerClass": "category", "link": "space"}
20 20  })
21 21  #set ($options = {
22 22   "className" : "books.WebHome",
23 - "translationPrefix" : "books.livetable.",
24 + "translationPrefix" : "livetable.books.",
24 24   "extraParams": "&name_class=assets.pagemaker.classes.persons",
25 25   "queryFilters" : "currentlanguage",
26 26   "rowCount": 10
... ... @@ -31,7 +31,7 @@
31 31  <h3>Add a book to this wiki</h3>
32 32  <p>
33 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 + Please feel free to share these books with our readers. However, to make sure your book is being filed correctly it is necessary that you answer a few simple questions about the book.
35 35  </p>
36 36  
37 37  #set($form_start = {
... ... @@ -102,7 +102,7 @@
102 102   "type" : "checkbox",
103 103   "required" : "no",
104 104   "label" : "Extra information (optional)",
105 - "value" : "1",
106 + "value" : "",
106 106   "data-opener" : "true"
107 107  })
108 108  #createFormElement($extra_info)
XWiki.ClassSheetBinding[0]
Sheet
... ... @@ -1,0 +1,1 @@
1 +books.Code.booksSheet