Changes for page Homeopaths

Last modified by Jip-jan Alunkel on March 14, 20:13

From version 8.111
edited by Jip-jan Alunkel
on December 08, 20:24
Change comment: Renamed from xwiki:practices.WebHome
To version 8.96
edited by Jip-jan Alunkel
on December 08, 18:38
Change comment: Renamed from xwiki:practices.WebHome

Summary

Details

Page properties
Content
... ... @@ -9,15 +9,9 @@
9 9  {{html wiki="false" clean="false"}}
10 10  <p>
11 11  All about homeopaths.
12 -##from XWikiSpace as space where doc.space = space.reference and ((doc.name <> 'WebHome' and lower(doc.name) like '%wiki%') or (doc.name = 'WebHome' and lower(space.name) like '%wiki%'))
13 -$xcontext.getUserReference().getName()
14 -#set($q = $services.query.xwql("from XWikiSpace as space where doc.space = space.reference and doc.name = :usr"))
15 -$q.bindValue('usr', $xcontext.getUserReference().getName()).execute()
16 -
17 17  </p>
18 18  <div id="homeopaths_map"></div>
19 19  
20 -
21 21  <h2>Add your practice to the map</h2>
22 22  #set($form_start = {
23 23   "id": "homeoworld_form",
... ... @@ -65,7 +65,7 @@
65 65   "data-query-list-header" : "$services.localization.render('pagemaker.line.suggest_select_list')",
66 66   "data-query-list-contents" : "key",
67 67   "data-query-list-editable" : "false",
68 - "help-block" : 'Input and select the country where your practice resides.'
62 + "help-block" : 'Type and select the country where your practice resides.'
69 69  })
70 70  #createFormElement($country)
71 71  
... ... @@ -86,7 +86,6 @@
86 86   "data-auto-first-capital" : "true",
87 87   "data-query-type" : "address",
88 88   "data-query-reference" : "",
89 - "data-page-name": "$xcontext.getUserReference().getName()",
90 90   "data-query-list-type" : "suggest-select",
91 91   "data-query-list-header" : "$services.localization.render('pagemaker.line.suggest_select_list')",
92 92   "data-query-list-contents" : "value/key",
... ... @@ -94,7 +94,7 @@
94 94   "data-create-xobj" : "true",
95 95   "data-xobj-classname" : "homeopaths.Code.homeopathsClass",
96 96   "data-xobj-fieldname" : "address",
97 - "help-block" : 'Input street and number, then select the address of your practice.'
90 + "help-block" : 'Input street and number and select the address of your practice.'
98 98  })
99 99  #createFormElement($address)
100 100  #set($submit = {