Cambios para el documento Homeopaths
Última modificación por Jip-jan Alunkel el marzo 14, 20:13
Desde la versión 8.142
editado por Jip-jan Alunkel
el diciembre 22, 14:56
el diciembre 22, 14:56
Cambiar el comentario:
Renamed from xwiki:practices.WebHome
Hasta la versión 8.143
editado por Jip-jan Alunkel
el diciembre 24, 13:33
el diciembre 24, 13:33
Cambiar el comentario:
Renamed from xwiki:practices.WebHome
Resumen
-
Propiedades de página (1 modificado, 0 añadido, 0 eliminado)
Detalles
- Propiedades de página
-
- Contenido
-
... ... @@ -10,11 +10,15 @@ 10 10 All about homeopaths. 11 11 </p> 12 12 <div id="homeopaths_map"></div> 13 -#set($q = $services.query.xwql("where doc.space like 'homeopaths.%' and doc.name like :usr")) 14 -#set($r = $q.bindValue('usr', $xcontext.getUserReference().getName()).execute()) 15 -#set($practice_exists = $r.size() > 0) 16 -#if(!$practice_exists && !$isGuest) 13 +#if(!$isGuest) 17 17 15 +$xcontext.getUserReference() 16 + 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 + 18 18 <h2>Add your practice to the map</h2> 19 19 #set($form_start = { 20 20 "id": "homeoworld_form", ... ... @@ -96,6 +96,7 @@ 96 96 "use_captcha": "false" 97 97 }) 98 98 #createFormEnd($form_end) 103 + #end 99 99 #end 100 100 {{/html}} 101 101 {{/velocity}}