Changes for page Homeopaths

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

From version 8.99
edited by Jip-jan Alunkel
on December 08, 19:05
Change comment: Renamed from xwiki:practices.WebHome
To version 8.90
edited by Jip-jan Alunkel
on December 08, 16:46
Change comment: Renamed from xwiki:practices.WebHome

Summary

Details

Page properties
Content
... ... @@ -59,7 +59,7 @@
59 59   "data-query-list-header" : "$services.localization.render('pagemaker.line.suggest_select_list')",
60 60   "data-query-list-contents" : "key",
61 61   "data-query-list-editable" : "false",
62 - "help-block" : 'Input and select the country where your practice resides.'
62 + "help-block" : 'Type and select the country where your practice resides.'
63 63  })
64 64  #createFormElement($country)
65 65  
... ... @@ -80,7 +80,6 @@
80 80   "data-auto-first-capital" : "true",
81 81   "data-query-type" : "address",
82 82   "data-query-reference" : "",
83 - "data-page-name": "$xcontext.user",
84 84   "data-query-list-type" : "suggest-select",
85 85   "data-query-list-header" : "$services.localization.render('pagemaker.line.suggest_select_list')",
86 86   "data-query-list-contents" : "value/key",
... ... @@ -88,7 +88,7 @@
88 88   "data-create-xobj" : "true",
89 89   "data-xobj-classname" : "homeopaths.Code.homeopathsClass",
90 90   "data-xobj-fieldname" : "address",
91 - "help-block" : 'Input street and number, then select the address of your practice.'
90 + "help-block" : 'Input and select the address of your practice.'
92 92  })
93 93  #createFormElement($address)
94 94  #set($submit = {
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))
XWiki.StyleSheetExtension[0]
Code
... ... @@ -4,9 +4,6 @@
4 4   height: 400px;
5 5   margin: 0 2rem;
6 6  }
7 -#homeopaths_map .leaflet-popup {
8 - min-width: 26rem;
9 -}
10 10  #homeopaths_map .leaflet-popup-content {
11 11   margin: 0;
12 12   line-height: unset;
... ... @@ -20,6 +20,3 @@
20 20   font-size: 1.2rem;
21 21   margin: 0 2rem 1.5rem 2rem;
22 22  }
23 -body.preference-underlining-only-inline-links #homeopaths_map a {
24 - text-decoration: none;
25 -}