Changes for page Public Web Site
Last modified by Alex Cotiugă on 2026/03/02 20:58
From version 3.56
edited by Alex Cotiugă
on 2025/11/24 12:31
on 2025/11/24 12:31
Change comment:
There is no comment for this version
To version 3.89
edited by Alex Cotiugă
on 2026/03/02 20:36
on 2026/03/02 20:36
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -5,15 +5,8 @@ 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">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> 10 - <div class="hero-cta"> 11 - <a class="btn btn-primary" href="#contact" aria-label="Request a consultation" data-toggle="modal" data-target="#requestConsultation"> 12 - Request a consultation 13 - </a> 14 - #requestConsultationModal() 15 - ##data-toggle="modal" data-target="#requestConsultationModal" 16 - </div> 8 + <h1 id="hero-title">Keep Your XWiki Platform Secure, Stable and Up-to-Date</h1> 9 + <p class="lead">Helping organizations safely upgrade and maintain their XWiki environments.</p> 17 17 <ul class="benefits"> 18 18 <li>Smooth upgrades</li> 19 19 <li>Reliable support plans</li> ... ... @@ -20,6 +20,14 @@ 20 20 <li>Custom integrations</li> 21 21 <li>Secure, optimized platforms</li> 22 22 </ul> 16 + <div class="hero-cta"> 17 + <a href="mailto:alex@agnease.com">Contact Agnease</a> 18 + #*<a class="btn btn-primary" href="#contact" aria-label="Request a consultation" data-toggle="modal" data-target="#requestConsultation"> 19 + Request a consultation 20 + </a> 21 + #requestConsultationModal()*# 22 + ##data-toggle="modal" data-target="#requestConsultationModal" 23 + </div> 23 23 </div> 24 24 </section> 25 25 ## WHY CHOOSE ... ... @@ -159,8 +159,8 @@ 159 159 </div> 160 160 <div class="modal-body"> 161 161 <div> 162 - Need help with your XWiki? <a href="mailto:alex@agnease.com">Contact Agnease</a> 163 - # #displayFormFromSheetCode()163 + ##Need help with your XWiki? <a href="mailto:alex@agnease.com">Contact Agnease</a> 164 + #displayFormFromSheetCode() 164 164 </div> 165 165 </div> 166 166 <div class="modal-footer"> ... ... @@ -172,12 +172,16 @@ 172 172 </div> 173 173 #end 174 174 176 +#macro (stripHTMLMacro $displayOutput) 177 + $stringtool.removeEnd($stringtool.removeStart($displayOutput, '{{html clean="false" wiki="false"}}'), '{{/html}}').replace('Agnease.Code.Lead.LeadClass_0_', 'acl-') 178 +#end 179 + 175 175 #macro (displayFormFromSheetCode) 176 - #set ($editing = $xcontext.action == 'edit')181 + #set ($editing = true) 177 177 ## The object to display. 178 - #set ($xobject = $doc. getObject('Agnease.Code.Lead.LeadClass'))183 + #set ($xobject = $doc.newObject('Agnease.Code.Lead.LeadClass')) 179 179 ## The class that describes the object properties. 180 - #set ($xclass = $xwiki.g wtXWikiClass('Agnease.Code.Lead.LeadClass'))185 + #set ($xclass = $xwiki.getClass('Agnease.Code.Lead.LeadClass')) 181 181 ## Make sure the following display* method calls use the right object. 182 182 #set ($discard = $doc.use($xobject)) 183 183 ## Using the xform vertical form layout. ... ... @@ -184,20 +184,23 @@ 184 184 <div class="xform"> 185 185 <dl> 186 186 #foreach ($property in $xclass.properties) 187 - <dt #if (!$editing && $hasEdit) 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)</dd> 192 + #if ($property.name != 'status') 193 + <dt #if (!$editing) 194 + class="editableProperty" 195 + #set ($xobjectPropertyReference = $xobject.getPropertyReference($property.name)) 196 + data-property="$escapetool.xml($services.model.serialize($xobjectPropertyReference))" 197 + data-property-type="object"#end> 198 + ## This must match the id generated by the $doc.display() method below. 199 + #set ($propertyId = "acl-$property.name") 200 + <label#if ($editing) for="$escapetool.xml($propertyId)"#end> 201 + $escapetool.xml($property.translatedPrettyName) 202 + </label> 203 + ## Support for specifying a translation key as hint in the property definition. 204 + <span class="xHint">$!escapetool.xml($services.localization.render($property.hint))</span> 205 + </dt> 206 + #set ($displayOutput = $doc.display($property.name, 'edit')) 207 + <dd>#stripHTMLMacro($displayOutput)</dd> 208 + #end 201 201 #end 202 202 #if (!$xclass.properties || $xclass.properties.size() == 0) 203 203 ## Keep the empty definition term in order to have valid HTML.