Changes for page Homeopaths

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

From version 8.109
edited by Jip-jan Alunkel
on December 08, 20:19
Change comment: Renamed from xwiki:practices.WebHome
To version 8.94
edited by Jip-jan Alunkel
on December 08, 18:25
Change comment: Renamed from xwiki:practices.WebHome

Summary

Details

Page properties
Content
... ... @@ -9,14 +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 -#set($q = $services.query.xwql("from XWikiSpace as space where doc.space = 'homeopaths.WebHome' and doc.name = :usr"))
14 -$q.bindValue('usr', $xcontext.getUserReference().getName()).execute()
15 -
16 16  </p>
17 17  <div id="homeopaths_map"></div>
18 18  
19 -
20 20  <h2>Add your practice to the map</h2>
21 21  #set($form_start = {
22 22   "id": "homeoworld_form",
... ... @@ -64,7 +64,7 @@
64 64   "data-query-list-header" : "$services.localization.render('pagemaker.line.suggest_select_list')",
65 65   "data-query-list-contents" : "key",
66 66   "data-query-list-editable" : "false",
67 - "help-block" : 'Input and select the country where your practice resides.'
62 + "help-block" : 'Type and select the country where your practice resides.'
68 68  })
69 69  #createFormElement($country)
70 70  
... ... @@ -85,7 +85,6 @@
85 85   "data-auto-first-capital" : "true",
86 86   "data-query-type" : "address",
87 87   "data-query-reference" : "",
88 - "data-page-name": "$xcontext.getUserReference().getName()",
89 89   "data-query-list-type" : "suggest-select",
90 90   "data-query-list-header" : "$services.localization.render('pagemaker.line.suggest_select_list')",
91 91   "data-query-list-contents" : "value/key",
... ... @@ -93,7 +93,7 @@
93 93   "data-create-xobj" : "true",
94 94   "data-xobj-classname" : "homeopaths.Code.homeopathsClass",
95 95   "data-xobj-fieldname" : "address",
96 - "help-block" : 'Input street and number, then select the address of your practice.'
90 + "help-block" : 'Input and select the address of your practice.'
97 97  })
98 98  #createFormElement($address)
99 99  #set($submit = {
XWiki.StyleSheetExtension[0]
Code
... ... @@ -4,9 +4,6 @@
4 4   height: 400px;
5 5   margin: 0 2rem;
6 6  }
7 -#homeopaths_map .leaflet-popup {
8 - min-width: 26rem;
9 -}
10 10  #homeopaths_map .leaflet-popup-content {
11 11   margin: 0;
12 12   line-height: unset;