Changes for page Books

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

From version 9.13
edited by Jip-jan Alunkel
on August 30, 22:27
Change comment: Updated class property
To version 9.17
edited by Jip-jan Alunkel
on August 31, 02:12
Change comment: Updated class property

Summary

Details

Page properties
Content
... ... @@ -12,10 +12,10 @@
12 12  <h2 class="livetable">Overview of all books</h2>
13 13  <div class="livetable">
14 14  
15 -#set ($columns = ["doc.title", "author", "doc.space"])
15 +#set ($columns = ["doc.title", "name", "doc.space"])
16 16  #set ($columnsProperties = {
17 17   "doc.title": {"type": "text", "filterable" : true, "sortable": true, "link": "view"},
18 - "remedy" : {"type": "text", "filterable" : true, "sortable": true, "size" : 4},
18 + "name" : {"type": "text", "filterable" : true, "sortable": true, "size" : 4},
19 19   "doc.space" : {"type": "text", "filterable" : true, "sortable": true, "size" : 4, "link": "space"}
20 20  })
21 21  #set ($options = {
... ... @@ -33,7 +33,14 @@
33 33   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.
34 34  </p>
35 35  
36 -#createFormStart("homeoworld_form" "book")
36 +#set($form_start = {
37 + "id": "homeoworld_form",
38 + "product": "book",
39 + "method": "post",
40 + "url": "",
41 + "use_captcha": "false"
42 +})
43 +#createFormStart($form_start)
37 37  #set($booktype = {
38 38   "id" : "booktype",
39 39   "type" : "select",
... ... @@ -70,9 +70,10 @@
70 70   "required" : "true",
71 71   "label" : "Author of the book",
72 72   "aria-label" : "Enter the author of the book",
80 + "data-default-value": "",
73 73   "placeholder" : "$services.localization.render('cases.word.author.placeholder')",
74 74   "data-auto-first-capital" : "true",
75 - "data-query-type" : "XWQL.matchObject",
83 + "data-query-type" : "XWQL",
76 76   "data-query-reference" : "assets.pagemaker.XWQL.matchObject",
77 77   "data-query-scope" : "",
78 78   "data-query-list-type" : "suggest-select",
... ... @@ -87,7 +87,6 @@
87 87   "data-error-response-type" : "use_label_definite_1",
88 88   "help-block" : 'Enter the last name of the author of this case. Choose the author from the list or create a new author.'
89 89  })
90 -
91 91  #createFormElement($author)
92 92  #set($extra_info = {
93 93   "id" : "extra_info",
... ... @@ -119,7 +119,10 @@
119 119   "help-block" : ""
120 120  })
121 121  #createSubmit($submit)
122 -#createFormEnd()
129 +#set($form_end = {
130 + "use_captcha": "false"
131 +})
132 +#createFormEnd($form_end)
123 123  
124 124  {{/html}}
125 125  {{/velocity}}