Modifiche per il documento Homeopaths
Ultima modifica di Jip-jan Alunkel il marzo 14, 20:13
Dalla versione 8.142
modificato da Jip-jan Alunkel
il dicembre 22, 14:56
il dicembre 22, 14:56
Cambia il commento:
Renamed from xwiki:practices.WebHome
Alla versione 8.133
modificato da Jip-jan Alunkel
il dicembre 22, 14:28
il dicembre 22, 14:28
Cambia il commento:
Renamed from xwiki:practices.WebHome
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,10 +3,6 @@ 1 -{{include reference="assets.pagemaker.macros"/}} 2 - 3 3 {{velocity}} 4 4 #set($discard = $services.localization.use('document', 'homeopaths.Code.translations')) 5 -#set($discard = $services.localization.use('document', 'assets.pagemaker.translations')) 6 -#set($discard = $xwiki.ssx.use('assets.pagemaker.WebHome', {'minify': false})) 7 -#set($discard = $xwiki.jsx.use('assets.pagemaker.WebHome', {'minify': false})) 3 + 8 8 {{html wiki="false" clean="false"}} 9 9 <p> 10 10 All about homeopaths. ... ... @@ -13,8 +13,18 @@ 13 13 #set($q = $services.query.xwql("where doc.space like 'homeopaths.%' and doc.name like :usr")) 14 14 #set($r = $q.bindValue('usr', $xcontext.getUserReference().getName()).execute()) 15 15 #set($practice_exists = $r.size() > 0) 16 -#if(!$practice_exists && !$isGuest) 12 +#if($practice_exists != false) 13 +{{/html}} 14 +{{/velocity}} 17 17 16 +{{include reference="assets.pagemaker.macros"/}} 17 + 18 +{{velocity}} 19 +#set($discard = $services.localization.use('document', 'assets.pagemaker.translations')) 20 +#set($discard = $xwiki.ssx.use('assets.pagemaker.WebHome', {'minify': false})) 21 +#set($discard = $xwiki.jsx.use('assets.pagemaker.WebHome', {'minify': false})) 22 + 23 +{{html wiki="false" clean="false"}} 18 18 <h2>Add your practice to the map</h2> 19 19 #set($form_start = { 20 20 "id": "homeoworld_form", ... ... @@ -45,6 +45,7 @@ 45 45 "help-block" : 'This will be used as the title of your practice page. The first character must be a letter.' 46 46 }) 47 47 #createFormElement($practice_name) 54 + 48 48 #set($country = { 49 49 "id" : "country", 50 50 "type" : "text", ... ... @@ -65,6 +65,7 @@ 65 65 "help-block" : 'Input and select the country where your practice resides.' 66 66 }) 67 67 #createFormElement($country) 75 + 68 68 #set($address = { 69 69 "id" : "address", 70 70 "type" : "address", ... ... @@ -97,5 +97,3 @@ 97 97 }) 98 98 #createFormEnd($form_end) 99 99 #end 100 -{{/html}} 101 -{{/velocity}}