Modifiche per il documento Homeopaths
Ultima modifica di Jip-jan Alunkel il marzo 14, 20:13
Dalla versione 8.6
modificato da Jip-jan Alunkel
il dicembre 06, 02:10
il dicembre 06, 02:10
Cambia il commento:
Renamed from xwiki:practices.WebHome
Alla versione 8.20
modificato da Jip-jan Alunkel
il dicembre 08, 00:33
il dicembre 08, 00:33
Cambia il commento:
Renamed from xwiki:practices.WebHome
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -6,7 +6,18 @@ 6 6 #set($discard = $xwiki.ssx.use('assets.pagemaker.WebHome', {'minify': false})) 7 7 #set($discard = $xwiki.jsx.use('assets.pagemaker.WebHome', {'minify': false})) 8 8 9 -{{html wiki="true" clean="false"}} 9 +{{html wiki="false" clean="false"}} 10 +<div id="homeopaths_map"></div> 11 + 12 +<script> 13 +var map = L.map('homeopaths_map').setView([20, 0], 2); 14 +L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', { 15 + maxZoom: 19, 16 + attribution: '' 17 +}).addTo(map); 18 +map.attributionControl.setPrefix(''); 19 +</script> 20 + 10 10 #set($form_start = { 11 11 "id": "homeoworld_form", 12 12 "product": "practice", ... ... @@ -44,6 +44,7 @@ 44 44 "aria-label" : "Choose the country", 45 45 "placeholder" : "$services.localization.render('homeopaths.word.country.placeholder')", 46 46 "data-set-space": "true", 58 + "data-parent-space": "homeopaths", 47 47 "data-error-response-type" : "use_label_definite_1", 48 48 "data-auto-first-capital" : "true", 49 49 "data-query-type" : "JSON", ... ... @@ -52,13 +52,16 @@ 52 52 "data-query-list-header" : "$services.localization.render('pagemaker.line.suggest_select_list')", 53 53 "data-query-list-contents" : "key", 54 54 "data-query-list-editable" : "false", 55 - "data-create-xobj" : "true", 56 - "data-xobj-classname" : "cases.Code.casesClass", 57 - "data-xobj-fieldname" : "country", 58 58 "help-block" : 'Type and select the country where your practice resides.' 59 59 }) 60 60 #createFormElement($country) 61 61 71 +#* 72 + "data-create-xobj" : "true", 73 + "data-xobj-classname" : "homeopaths.Code.homeopathsClass", 74 + "data-xobj-fieldname" : "country", 75 +*# 76 + 62 62 #set($address = { 63 63 "id" : "address", 64 64 "type" : "address", ... ... @@ -81,8 +81,8 @@ 81 81 }) 82 82 #createFormElement($address) 83 83 #set($submit = { 84 - "id" : "create_ case",85 - "button-text" : " Submit",99 + "id" : "create_practice", 100 + "button-text" : "Add practice", 86 86 "help-block" : "Please remind yourself to always anonymize the case." 87 87 }) 88 88 #createSubmit($submit)