Changes for page Homeopaths

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

From version 8.88
edited by Jip-jan Alunkel
on December 08, 16:45
Change comment: Renamed from xwiki:practices.WebHome
To version 8.95
edited by Jip-jan Alunkel
on December 08, 18:31
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>${stringtool.capitalize($result_doc.documentReference.getName())}</h4><address>${address}</address>")
24 + #set($info = "<h4><a href='$xwiki.getURL($result_doc.documentReference)'>${stringtool.capitalize($result_doc.documentReference.getName())}</a></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))
XWiki.StyleSheetExtension[0]
Code
... ... @@ -4,6 +4,9 @@
4 4   height: 400px;
5 5   margin: 0 2rem;
6 6  }
7 +#homeopaths_map .leaflet-popup {
8 + min-width: 26rem;
9 +}
7 7  #homeopaths_map .leaflet-popup-content {
8 8   margin: 0;
9 9   line-height: unset;
... ... @@ -14,6 +14,9 @@
14 14   margin-top: 2rem;
15 15  }
16 16  .leaflet-popup-content address {
17 - font-size: inherit;
18 - margin: 0 2rem 1.5rem 0;
20 + font-size: 1.2rem;
21 + margin: 0 2rem 1.5rem 2rem;
19 19  }
23 +body.preference-underlining-only-inline-links #homeopaths_map a {
24 + text-decoration: none;
25 +}