Changes for page Homeopaths
Last modified by Jip-jan Alunkel on March 14, 20:13
From version 8.159
edited by Jip-jan Alunkel
on January 31, 16:43
on January 31, 16:43
Change comment:
Renamed from xwiki:practices.WebHome
To version 8.145
edited by Jip-jan Alunkel
on December 24, 13:41
on December 24, 13:41
Change comment:
Renamed from xwiki:practices.WebHome
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -5,19 +5,20 @@ 5 5 #set($discard = $services.localization.use('document', 'assets.pagemaker.translations')) 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 - 9 9 {{html wiki="false" clean="false"}} 10 10 <p> 11 -All about the page "homeopaths".Where is it for?10 +All about homeopaths. 12 12 </p> 13 13 <div id="homeopaths_map"></div> 14 14 #if(!$isGuest) 15 - #set($hasPractice = $xwiki.getDocument($xcontext.getUserReference()).getObject('XWiki.XWikiUsers').getProperty('practice').value) 16 - #if($hasPractice) 17 - #set($q = $services.query.xwql("where doc.space like 'homeopaths.%' and doc.name like :usr")) 18 - #set($r = $q.bindValue('usr', $xcontext.getUserReference().getName()).execute()) 19 - #set($practiceExists = $r.size() > 0) 20 - #if(!$practiceExists) 14 + 15 + #set($haspractice = $xwiki.getDocument($xcontext.getUserReference()).getObject('XWiki.XWikiUsers').getProperty('practice')) 16 +$haspractice.value 17 + #set($q = $services.query.xwql("where doc.space like 'homeopaths.%' and doc.name like :usr")) 18 + #set($r = $q.bindValue('usr', $xcontext.getUserReference().getName()).execute()) 19 + #set($practice_exists = $r.size() > 0) 20 + #if(!$practice_exists) 21 + 21 21 <h2>Add your practice to the map</h2> 22 22 #set($form_start = { 23 23 "id": "homeoworld_form", ... ... @@ -56,7 +56,6 @@ 56 56 "aria-label" : "Choose the country", 57 57 "placeholder" : "$services.localization.render('homeopaths.word.country.placeholder')", 58 58 "data-set-space": "true", 59 - "data-space-xobj-classname": "homeopaths.Code.homeopathsCountryClass", 60 60 "data-parent-space": "homeopaths", 61 61 "data-error-response-type" : "use_label_definite_1", 62 62 "data-auto-first-capital" : "true", ... ... @@ -73,7 +73,7 @@ 73 73 "id" : "address", 74 74 "type" : "address", 75 75 "required" : "true", 76 - "label" : "Address", 76 + "label" : "Address of your practice", 77 77 "aria-label" : "Input and select the address of your practice", 78 78 "placeholder" : "$services.localization.render('homeopaths.multiword.address.placeholder')", 79 79 "data-error-response-type" : "use_label_definite_1", ... ... @@ -100,7 +100,6 @@ 100 100 "use_captcha": "false" 101 101 }) 102 102 #createFormEnd($form_end) 103 - #end 104 104 #end 105 105 #end 106 106 {{/html}}