Changes for page Books

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

From version 9.26
edited by Jip-jan Alunkel
on August 31, 23:21
Change comment: Updated class property
To version 9.18
edited by Jip-jan Alunkel
on August 31, 12:36
Change comment: Updated class property

Summary

Details

Page properties
Content
... ... @@ -1,7 +1,6 @@
1 1  {{include reference="assets.pagemaker.macros"/}}
2 2  
3 3  {{velocity}}
4 -#set($discard = $services.localization.use('document', 'assets.global.translations'))
5 5  #set($discard = $services.localization.use('document', 'assets.pagemaker.translations'))
6 6  #set($discard = $xwiki.ssx.use('assets.pagemaker.WebHome', {'minify' : false}))
7 7  #set($discard = $xwiki.jsx.use('assets.pagemaker.WebHome', {'minify' : false}))
... ... @@ -15,13 +15,13 @@
15 15  
16 16  #set ($columns = ["doc.title", "name", "doc.space"])
17 17  #set ($columnsProperties = {
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"}
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"}
21 21  })
22 22  #set ($options = {
23 23   "className" : "books.WebHome",
24 - "translationPrefix" : "livetable.books.",
23 + "translationPrefix" : "books.livetable.",
25 25   "extraParams": "&name_class=assets.pagemaker.classes.persons",
26 26   "queryFilters" : "currentlanguage",
27 27   "rowCount": 10
... ... @@ -32,7 +32,7 @@
32 32  <h3>Add a book to this wiki</h3>
33 33  <p>
34 34   Do you know of any books that can be of value to people who would like to learn more about homeopathy?
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.
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.
36 36  </p>
37 37  
38 38  #set($form_start = {
... ... @@ -95,7 +95,7 @@
95 95   "data-modal-input" : ["$services.localization.render('global.word.lastname')", "$services.localization.render('global.word.firstname')"],
96 96   "data-modal-input-glue": ", ",
97 97   "data-error-response-type" : "use_label_definite_1",
98 - "help-block" : 'Enter the last name of the author of this book. Choose the author from the list or create a new author.'
97 + "help-block" : 'Enter the last name of the author of this case. Choose the author from the list or create a new author.'
99 99  })
100 100  #createFormElement($author)
101 101  #set($extra_info = {
... ... @@ -103,7 +103,7 @@
103 103   "type" : "checkbox",
104 104   "required" : "no",
105 105   "label" : "Extra information (optional)",
106 - "value" : "",
105 + "value" : "1",
107 107   "data-opener" : "true"
108 108  })
109 109  #createFormElement($extra_info)