Last modified by Alex Cotiuga on 2026/07/27 06:09

From version 18.8
edited by Alex Cotiuga
on 2026/07/09 19:58
Change comment: There is no comment for this version
To version 17.3
edited by Alex Cotiuga
on 2026/07/03 15:37
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -12,8 +12,7 @@
12 12   'hosting',
13 13   'customDevelopment',
14 14   'timeline',
15 - 'users',
16 - 'sourcePage'
15 + 'users'
17 17   ])
18 18  
19 19   #set ($name = '')
... ... @@ -163,20 +163,15 @@
163 163   ## As a measure to avoid high load on website.
164 164   Tell us more about your project at <a href="mailto:alex@agnease.com">alex@agnease.com</a>
165 165   #else
166 - #set ($hiddenProperties = ['sourcePage'])
167 167   <form id="contactForm">
168 168   <dl>
169 169   #foreach ($property in $xclass.properties)
170 - #set ($hiddenPropertiesCSS = '')
171 - #if ($hiddenProperties.contains($property.name))
172 - #set ($hiddenPropertiesCSS = 'class="hidden"')
173 - #end
174 174   #if ($property.name == 'hosting')
175 175   <hr>
176 176   <h3>Optional project details</h3>
177 177   <p>These details help us understand the scope and suggest practical next steps.</p>
178 178   #end
179 - <dt $hiddenPropertiesCSS #if (!$editing && $hasEdit)
173 + <dt #if (!$editing && $hasEdit)
180 180   class="editableProperty"
181 181   #set ($xobjectPropertyReference = $xobject.getPropertyReference($property.name))
182 182   data-property="$escapetool.xml($services.model.serialize($xobjectPropertyReference))"
... ... @@ -194,7 +194,7 @@
194 194   #if (!$xclass.properties || $xclass.properties.size() == 0)
195 195   ## Keep the empty definition term in order to have valid HTML.
196 196   <dt></dt>
197 - <dd $hiddenPropertiesCSS>$escapetool.xml($services.localization.render('xclass.defaultObjectSheet.noProperties'))</dd>
191 + <dd>$escapetool.xml($services.localization.render('xclass.defaultObjectSheet.noProperties'))</dd>
198 198   #end
199 199   </dl>
200 200   <p class="xHint">* Your information will only be used to respond to this request.</p>