Changes for page Books
Last modified by Jip-jan Alunkel on November 23, 10:59
From version 9.22
edited by Jip-jan Alunkel
on August 31, 21:59
on August 31, 21:59
Change comment:
Updated class property
To version 10.2
edited by Jip-jan Alunkel
on November 23, 10:58
on November 23, 10:58
Change comment:
Removed class property "publish_year"
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (0 modified, 1 added, 0 removed)
-
Class properties (0 modified, 0 added, 1 removed)
Details
- Page properties
-
- Content
-
... ... @@ -15,12 +15,12 @@ 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": "r emedy"},20 - "doc.space": {"type": "text", "filterable" : true, "sortable": true, "headerClass": " locality", "link": "space"}18 + "$stringtool.capitalize(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"} 21 21 }) 22 22 #set ($options = { 23 - "className" : "books. WebHome",23 + "className" : "books.Code.booksClass", 24 24 "translationPrefix" : "livetable.books.", 25 25 "extraParams": "&name_class=assets.pagemaker.classes.persons", 26 26 "queryFilters" : "currentlanguage", ... ... @@ -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 case iscorrectlyfiled inthiswiki it is necessary that you answer a few simple questions about thecase.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. 36 36 </p> 37 37 38 38 #set($form_start = { ... ... @@ -103,7 +103,7 @@ 103 103 "type" : "checkbox", 104 104 "required" : "no", 105 105 "label" : "Extra information (optional)", 106 - "value" : " 1",106 + "value" : "", 107 107 "data-opener" : "true" 108 108 }) 109 109 #createFormElement($extra_info) ... ... @@ -117,7 +117,7 @@ 117 117 "placeholder" : "Year", 118 118 "data-error-response-type" : "use_label_definite_1", 119 119 "data-create-xobj" : "true", 120 - "data-xobj-classname" : "books. WebHome",120 + "data-xobj-classname" : "books.Code.booksClass", 121 121 "data-xobj-fieldname" : "publish_year" 122 122 }) 123 123 #createFormElement($publish_year)
- XWiki.ClassSheetBinding[0]
-
- Sheet
-
... ... @@ -1,0 +1,1 @@ 1 +books.Code.booksSheet
- publish_year
-
- Number
-
... ... @@ -1,1 +1,0 @@ 1 -2 - Number Type
-
... ... @@ -1,1 +1,0 @@ 1 -long - Size
-
... ... @@ -1,1 +1,0 @@ 1 -30 - Pretty Name
-
... ... @@ -1,1 +1,0 @@ 1 -publish_year - Name
-
... ... @@ -1,1 +1,0 @@ 1 -publish_year