Modifications pour le document Books
Modifié par Jip-jan Alunkel le novembre 23, 10:59
Depuis la version 8.23
modifié par Jip-jan Alunkel
sur avril 11, 23:53
sur avril 11, 23:53
Commentaire de modification :
Updated class property
À la version 8.19
modifié par Jip-jan Alunkel
sur avril 11, 17:00
sur avril 11, 17:00
Commentaire de modification :
Updated class property
Résumé
-
Propriétés de la Page (1 modifications, 0 ajouts, 0 suppressions)
Détails
- Propriétés de la Page
-
- Contenu
-
... ... @@ -1,37 +3,16 @@ 1 -{{include reference="assets.formMaker.macros" /}} 2 - 3 3 {{velocity}} 4 -{{html}} 5 5 #set($discard = $services.localization.use('document', 'cases.Code.translations')) 6 6 #set($discard = $services.localization.use('document', 'assets.formMaker.translations')) 7 7 #set($discard = $xwiki.ssx.use('assets.formMaker.WebHome')) 8 8 #set($discard = $xwiki.jsx.use('assets.formMaker.WebHome', {'minify' : false})) 9 -<p> 6 +{{/velocity}} 7 + 10 10 All about books 11 -</p> 12 -<h2 class="livetable">Overview of all books</h2> 13 -<div id="livetable"> 14 14 15 -#set ($columns = ["doc.title", "author", "doc.space"]) 16 -#set ($columnsProperties = { 17 - "doc.title": {"type": "text", "filterable" : true, "sortable": true, "link": "view"}, 18 - "remedy" : {"type": "text", "filterable" : true, "sortable": true, "size" : 4}, 19 - "doc.space" : {"type": "text", "filterable" : true, "sortable": true, "size" : 4, "link": "space"} 20 -}) 21 -#set ($options = { 22 - "className" : "books.WebHome", 23 - "translationPrefix" : "books.livetable.", 24 - "queryFilters" : "currentlanguage", 25 - "rowCount": 10 26 -}) 27 -#livetable("books" $columns $columnsProperties $options) 10 +{{include reference="assets.formMaker.macros" /}} 28 28 29 -</div> 30 -<h3>Add a book to this wiki</h3> 31 -<p> 32 - Do you know of any books that can be of value to people who would like to learn more about homeopathy? 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 -</p> 12 +{{velocity}} 13 +{{html}} 35 35 36 36 #createFormStart("homeoworld_form" "book") 37 37 ... ... @@ -82,7 +82,7 @@ 82 82 "data-query-list-type" : "suggest-select", 83 83 "data-query-list-header" : "$services.localization.render('formMaker.line.suggest_select_list')", 84 84 "data-query-list-contents" : "value", 85 - "data-query-list-editable" : " true",64 + "data-query-list-editable" : "false", 86 86 "data-create-xobj" : "true", 87 87 "data-xobj-classname" : "books.WebHome", 88 88 "data-xobj-fieldname" : "author", ... ... @@ -120,13 +120,6 @@ 120 120 121 121 #createExpandEnd() 122 122 123 -#set($submit = { 124 - "id" : "create_book", 125 - "button-text" : "Create book", 126 - "help-block" : "" 127 -}) 128 -#createSubmit($submit) 129 - 130 130 #createFormEnd() 131 131 132 132 {{/html}}