Modifications pour le document Books
Modifié par Jip-jan Alunkel le novembre 23, 10:59
Depuis la version 8.3
modifié par Jip-jan Alunkel
sur avril 09, 19:44
sur avril 09, 19:44
Commentaire de modification :
Added class property
À la version 8.14
modifié par Jip-jan Alunkel
sur avril 10, 16:59
sur avril 10, 16:59
Commentaire de modification :
Removed class property "remedy"
Résumé
-
Propriétés de la Page (1 modifications, 0 ajouts, 0 suppressions)
-
Propriétés de la Classe (0 modifications, 0 ajouts, 2 suppressions)
Détails
- Propriétés de la Page
-
- Contenu
-
... ... @@ -19,12 +19,12 @@ 19 19 "type" : "select", 20 20 "required" : "true", 21 21 "label" : "Type of book", 22 - "aria-label" : "Select the locality",22 + "aria-label" : "Select the type of book", 23 23 "data-error-response-type" : "use_label_definite_1", 24 24 "data-set-space" : "true", 25 - "placeholder" : " $services.localization.render('cases.word.locality_select.placeholder')",25 + "placeholder" : "Type", 26 26 "space-reference" : "books", 27 - "help-block" : "Choose the type of book you would like to enter."27 + "help-block" : "Choose the type of book you would like to add." 28 28 }) 29 29 30 30 #createFormElement($booktype) ... ... @@ -33,40 +33,41 @@ 33 33 "id" : "book_title", 34 34 "type" : "text", 35 35 "required" : "true", 36 - "label" : "Title", 36 + "label" : "Title of the book", 37 37 "aria-label" : "Enter the title of the book", 38 - "placeholder" : " $services.localization.render('cases.wordgroup.main_complaint.placeholder')",38 + "placeholder" : "Title", 39 39 "data-error-response-type" : "use_label_definite_1", 40 40 "data-query-type" : "XWQL.matchTitle", 41 41 "data-query-scope" : "books", 42 42 "data-query-list-type" : "suggest-negate", 43 - "data- suggest-list-header" : "$services.localization.render('cases.line.suggest_negate_list')",43 + "data-query-list-header" : "$services.localization.render('formMaker.line.suggest_negate_list')", 44 44 "data-query-list-contents" : "value", 45 45 "data-create-page" : "true", 46 - "help-block" : ' Pleasebe as conciseaspossiblewhen youdescribethemaincomplaint.Forexample:<br/>"chronic headachewithbowelcomplaints,"<br/>"intermittendfever"or<br />"diarrhea."'46 + "help-block" : 'When providing a title of a common type of book, please also provide the authorʼs last name, viz. Boericke Materia Medica.' 47 47 }) 48 48 49 -#createFormElement($ main_complaint)49 +#createFormElement($book_title) 50 50 51 -#set($r emedy= {52 - "id" : "r emedy",51 +#set($author = { 52 + "id" : "author", 53 53 "type" : "text", 54 54 "required" : "true", 55 - "label" : " Remedy",56 - "aria-label" : " Choose the remedy",57 - "placeholder" : " $services.localization.render('cases.word.remedy.placeholder')",58 - "data-er ror-response-type" : "use_label_definite_1",59 - "data-query- type" : "JSON.remedies",55 + "label" : "Author of the book", 56 + "aria-label" : "Enter the author of the book", 57 + "placeholder" : "Author", 58 + "data-query-type" : "XWQL.matchObject", 59 + "data-query-scope" : "books", 60 60 "data-query-list-type" : "suggest-select", 61 - "data-suggest-list-header" : "$services.localization.render('cases.line.suggest_select_list')", 62 - "data-query-list-contents" : "value/key", 61 + "data-query-list-header" : "$services.localization.render('formMaker.line.suggest_select_list')", 62 + "data-query-list-contents" : "value", 63 + "data-query-list-editable" : "false", 63 63 "data-create-xobj" : "true", 64 64 "data-xobj-classname" : "books.WebHome", 65 - "data-xobj-fieldname" : "r emedy",66 - "help-block" : 'Select the remedy thatis centralinthis case.'66 + "data-xobj-fieldname" : "author", 67 + "help-block" : 'Select the author of this case.' 67 67 }) 68 68 69 -#createFormElement($r emedy)70 +#createFormElement($author) 70 70 71 71 #set($extra_info = { 72 72 "id" : "extra_info", ... ... @@ -80,25 +80,20 @@ 80 80 81 81 #createExpandStart("extra_info" "yes") 82 82 83 -#set($author = { 84 - "id" : "author", 85 - "type" : "text", 86 - "required" : "false", 87 - "label" : "Author", 88 - "aria-label" : "Enter the author name", 89 - "placeholder" : "$services.localization.render('cases.word.author.placeholder')", 90 - "data-query-type" : "XWQL.matchObject", 91 - "data-query-scope" : "books", 92 - "data-query-list-type" : "suggest-select", 93 - "data-suggest-list-header" : "$services.localization.render('cases.line.suggest_select_list')", 94 - "data-query-list-contents" : "value", 84 +#set($publish_year = { 85 + "id" : "publish_year", 86 + "type" : "number", 87 + "required" : "true", 88 + "label" : "Year of publishing", 89 + "aria-label" : "Enter the year of publishing", 90 + "placeholder" : "Year", 91 + "data-error-response-type" : "use_label_definite_1", 95 95 "data-create-xobj" : "true", 96 96 "data-xobj-classname" : "books.WebHome", 97 - "data-xobj-fieldname" : "author", 98 - "help-block" : 'Select the author of this case.' 94 + "data-xobj-fieldname" : "publish_year" 99 99 }) 100 100 101 -#createFormElement($ author)97 +#createFormElement($publish_year) 102 102 103 103 #createExpandEnd() 104 104
- remedy
-
- Number
-
... ... @@ -1,1 +1,0 @@ 1 -3 - Size
-
... ... @@ -1,1 +1,0 @@ 1 -30 - Pretty Name
-
... ... @@ -1,1 +1,0 @@ 1 -remedy - Name
-
... ... @@ -1,1 +1,0 @@ 1 -remedy
- title
-
- Number
-
... ... @@ -1,1 +1,0 @@ 1 -1 - Size
-
... ... @@ -1,1 +1,0 @@ 1 -30 - Pretty Name
-
... ... @@ -1,1 +1,0 @@ 1 -title - Name
-
... ... @@ -1,1 +1,0 @@ 1 -title - Use Suggest
-
... ... @@ -1,1 +1,0 @@ 1 -1