Changes for page Homeopaths
Last modified by Jip-jan Alunkel on March 14, 20:13
From version 8.132
edited by Jip-jan Alunkel
on December 22, 14:27
on December 22, 14:27
Change comment:
Renamed from xwiki:practices.WebHome
To version 8.140
edited by Jip-jan Alunkel
on December 22, 14:55
on December 22, 14:55
Change comment:
Renamed from xwiki:practices.WebHome
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -2,6 +2,9 @@ 2 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})) 5 5 6 6 {{html wiki="false" clean="false"}} 7 7 <p> ... ... @@ -11,18 +11,8 @@ 11 11 #set($q = $services.query.xwql("where doc.space like 'homeopaths.%' and doc.name like :usr")) 12 12 #set($r = $q.bindValue('usr', $xcontext.getUserReference().getName()).execute()) 13 13 #set($practice_exists = $r.size() > 0) 14 -#if($practice_exists != false) 15 -{{/html}} 16 -{{/velocity}} 17 +#if($practice_exists != false && !$isGuest) 17 17 18 -{{include reference="assets.pagemaker.macros"/}} 19 - 20 -{{velocity}} 21 -#set($discard = $services.localization.use('document', 'assets.pagemaker.translations')) 22 -#set($discard = $xwiki.ssx.use('assets.pagemaker.WebHome', {'minify': false})) 23 -#set($discard = $xwiki.jsx.use('assets.pagemaker.WebHome', {'minify': false})) 24 - 25 -{{html wiki="false" clean="false"}} 26 26 <h2>Add your practice to the map</h2> 27 27 #set($form_start = { 28 28 "id": "homeoworld_form", ... ... @@ -107,3 +107,5 @@ 107 107 }) 108 108 #createFormEnd($form_end) 109 109 #end 103 +{{/html}} 104 +{{/velocity}}