0 Votes

Changes for page Public Web Site

Last modified by Alex Cotiugă on 2025/11/27 10:42

From version 3.82
edited by Alex Cotiugă
on 2025/11/24 16:14
Change comment: There is no comment for this version
To version 3.85
edited by Alex Cotiugă
on 2025/11/27 10:41
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -8,10 +8,11 @@
8 8   <h1 id="hero-title">Professional XWiki solutions, from setup to long-term stability</h1>
9 9   <p class="lead">Need your XWiki upgraded, secured, or improved? Let’s make it happen.</p>
10 10   <div class="hero-cta">
11 - <a class="btn btn-primary" href="#contact" aria-label="Request a consultation" data-toggle="modal" data-target="#requestConsultation">
11 + Need help with your XWiki? <a href="mailto:alex@agnease.com">Contact Agnease</a>.
12 + #*<a class="btn btn-primary" href="#contact" aria-label="Request a consultation" data-toggle="modal" data-target="#requestConsultation">
12 12   Request a consultation
13 13   </a>
14 - #requestConsultationModal()
15 + #requestConsultationModal()*#
15 15   ##data-toggle="modal" data-target="#requestConsultationModal"
16 16   </div>
17 17   <ul class="benefits">
... ... @@ -188,22 +188,23 @@
188 188   <div class="xform">
189 189   <dl>
190 190   #foreach ($property in $xclass.properties)
191 - <dt #if (!$editing)
192 - class="editableProperty"
193 - #set ($xobjectPropertyReference = $xobject.getPropertyReference($property.name))
194 - data-property="$escapetool.xml($services.model.serialize($xobjectPropertyReference))"
195 - data-property-type="object"#end>
196 - ## This must match the id generated by the $doc.display() method below.
197 - #set ($propertyId = "acl-$property.name")
198 - <label#if ($editing) for="$escapetool.xml($propertyId)"#end>
199 - $escapetool.xml($property.translatedPrettyName)
200 - </label>
201 - ## Support for specifying a translation key as hint in the property definition.
202 - <span class="xHint">$!escapetool.xml($services.localization.render($property.hint))</span>
203 - </dt>
204 - #set ($displayOutput = $doc.display($property.name, 'edit'))
205 - #set ($displayOutput = "#stripHTMLMacro($displayOutput)")
206 - <dd>$displayOutput.replace('name=', "placeholder='$escapetool.xml($property.translatedPrettyName)' 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
207 207   #end
208 208   #if (!$xclass.properties || $xclass.properties.size() == 0)
209 209   ## Keep the empty definition term in order to have valid HTML.