Changes for page Homeopaths

Last modified by Jip-jan Alunkel on March 14, 20:13

From version 8.92
edited by Jip-jan Alunkel
on December 08, 18:24
Change comment: Renamed from xwiki:practices.WebHome
To version 8.84
edited by Jip-jan Alunkel
on December 08, 16:39
Change comment: Renamed from xwiki:practices.WebHome

Summary

Details

XWiki.JavaScriptExtension[0]
Code
... ... @@ -21,7 +21,7 @@
21 21   #end
22 22   #set($address = "${address}${address_item.trim()}${linebreak}")
23 23   #end
24 - #set($info = "<h4><a href='$xwiki.getURL($result_doc.documentReference)'>${stringtool.capitalize($result_doc.documentReference.getName())}</a></h4><address>${address}</address>")
24 + #set($info = "<h4>${stringtool.capitalize($result_doc.documentReference.getName())}</h4><address>${address}</address>")
25 25   #set($discard = $map.put($info, $result_obj.getProperty("latlong").value))
26 26   #end
27 27   #if($objecttool.allNull($map))
... ... @@ -39,6 +39,7 @@
39 39   latlongArray = [long, lat, property];
40 40   markers.push(latlongArray)
41 41   }
42 +console.log(markers);
42 42  
43 43   for (var i=0; i<markers.length; i++) {
44 44   let lon = markers[i][0],
XWiki.StyleSheetExtension[0]
Code
... ... @@ -4,7 +4,7 @@
4 4   height: 400px;
5 5   margin: 0 2rem;
6 6  }
7 -#homeopaths_map .leaflet-popup-content {
7 +.leaflet-popup-content {
8 8   margin: 0;
9 9   line-height: unset;
10 10   font-size: unset;
... ... @@ -14,9 +14,5 @@
14 14   margin-top: 2rem;
15 15  }
16 16  .leaflet-popup-content address {
17 - font-size: 1.2rem;
18 - margin: 0 2rem 1.5rem 2rem;
17 +
19 19  }
20 -#homeopaths_map .leaflet-popup-content a {
21 - text-decoration: none;
22 -}