0 Votes

Changes for page Public Web Site

Last modified by Alex Cotiugă on 2026/03/02 20:58

From version 3.91
edited by Alex Cotiugă
on 2026/03/02 20:43
Change comment: There is no comment for this version
To version 3.64
edited by Alex Cotiugă
on 2025/11/24 12:34
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -5,24 +5,21 @@
5 5   ## HERO
6 6   <section class="hero hero-centered" aria-labelledby="hero-title">
7 7   <div class="container hero-inner">
8 - <h1 id="hero-title">Secure, Stable and Up-to-Date XWiki Platforms</h1>
9 - <p class="lead">Independent XWiki specialist helping organizations upgrade, stabilize and maintain their XWiki environments.</p>
10 - <ul class="benefits">
11 - <li>11+ years of experience in the XWiki ecosystem</li>
12 - <li>Former XWiki SAS developer and long-time contributor</li>
13 - #*<li>Smooth upgrades</li>
14 - <li>Reliable support plans</li>
15 - <li>Custom integrations</li>
16 - <li>Secure, optimized platforms</li>*#
17 - </ul>
8 + <h1 id="hero-title">Professional XWiki solutions, from setup to long-term stability</h1>
9 + <p class="lead">Need your XWiki upgraded, secured, or improved? Let’s make it happen.</p>
18 18   <div class="hero-cta">
19 - <a href="mailto:alex@agnease.com">Contact Agnease</a>
20 - #*<a class="btn btn-primary" href="#contact" aria-label="Request a consultation" data-toggle="modal" data-target="#requestConsultation">
11 + <a class="btn btn-primary" href="#contact" aria-label="Request a consultation" data-toggle="modal" data-target="#requestConsultation">
21 21   Request a consultation
22 22   </a>
23 - #requestConsultationModal()*#
14 + #requestConsultationModal()
24 24   ##data-toggle="modal" data-target="#requestConsultationModal"
25 25   </div>
17 + <ul class="benefits">
18 + <li>Smooth upgrades</li>
19 + <li>Reliable support plans</li>
20 + <li>Custom integrations</li>
21 + <li>Secure, optimized platforms</li>
22 + </ul>
26 26   </div>
27 27   </section>
28 28   ## WHY CHOOSE
... ... @@ -162,7 +162,7 @@
162 162   </div>
163 163   <div class="modal-body">
164 164   <div>
165 - ##Need help with your XWiki? <a href="mailto:alex@agnease.com">Contact Agnease</a>
162 + Need help with your XWiki? <a href="mailto:alex@agnease.com">Contact Agnease</a>
166 166   #displayFormFromSheetCode()
167 167   </div>
168 168   </div>
... ... @@ -175,14 +175,10 @@
175 175   </div>
176 176  #end
177 177  
178 -#macro (stripHTMLMacro $displayOutput)
179 - $stringtool.removeEnd($stringtool.removeStart($displayOutput, '{{html clean="false" wiki="false"}}'), '{{/html}}').replace('Agnease.Code.Lead.LeadClass_0_', 'acl-')
180 -#end
181 -
182 182  #macro (displayFormFromSheetCode)
183 183   #set ($editing = true)
184 184   ## The object to display.
185 - #set ($xobject = $doc.newObject('Agnease.Code.Lead.LeadClass'))
178 + #set ($xobject = $doc.getObject('Agnease.Code.Lead.LeadClass'))
186 186   ## The class that describes the object properties.
187 187   #set ($xclass = $xwiki.getClass('Agnease.Code.Lead.LeadClass'))
188 188   ## Make sure the following display* method calls use the right object.
... ... @@ -191,23 +191,20 @@
191 191   <div class="xform">
192 192   <dl>
193 193   #foreach ($property in $xclass.properties)
194 - #if ($property.name != 'status')
195 - <dt #if (!$editing)
196 - class="editableProperty"
197 - #set ($xobjectPropertyReference = $xobject.getPropertyReference($property.name))
198 - data-property="$escapetool.xml($services.model.serialize($xobjectPropertyReference))"
199 - data-property-type="object"#end>
200 - ## This must match the id generated by the $doc.display() method below.
201 - #set ($propertyId = "acl-$property.name")
202 - <label#if ($editing) for="$escapetool.xml($propertyId)"#end>
203 - $escapetool.xml($property.translatedPrettyName)
204 - </label>
205 - ## Support for specifying a translation key as hint in the property definition.
206 - <span class="xHint">$!escapetool.xml($services.localization.render($property.hint))</span>
207 - </dt>
208 - #set ($displayOutput = $doc.display($property.name, 'edit'))
209 - <dd>#stripHTMLMacro($displayOutput)</dd>
210 - #end
187 + <dt #if (!$editing)
188 + class="editableProperty"
189 + #set ($xobjectPropertyReference = $xobject.getPropertyReference($property.name))
190 + data-property="$escapetool.xml($services.model.serialize($xobjectPropertyReference))"
191 + data-property-type="object"#end>
192 + ## This must match the id generated by the $doc.display() method below.
193 + #set ($propertyId = "${xclass.name}_${xobject.number}_$property.name")
194 + <label#if ($editing) for="$escapetool.xml($propertyId)"#end>
195 + $escapetool.xml($property.translatedPrettyName)
196 + </label>
197 + ## Support for specifying a translation key as hint in the property definition.
198 + <span class="xHint">$!escapetool.xml($services.localization.render($property.hint))</span>
199 + </dt>
200 + <dd>$doc.display($property.name, 'edit')</dd>
211 211   #end
212 212   #if (!$xclass.properties || $xclass.properties.size() == 0)
213 213   ## Keep the empty definition term in order to have valid HTML.