0 Votes

Changes for page Public Web Site

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

From version 3.64
edited by Alex Cotiugă
on 2025/11/24 12:34
Change comment: There is no comment for this version
To version 3.61
edited by Alex Cotiugă
on 2025/11/24 12:33
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -184,7 +184,7 @@
184 184   <div class="xform">
185 185   <dl>
186 186   #foreach ($property in $xclass.properties)
187 - <dt #if (!$editing)
187 + <dt #if (!$editing && $hasEdit)
188 188   class="editableProperty"
189 189   #set ($xobjectPropertyReference = $xobject.getPropertyReference($property.name))
190 190   data-property="$escapetool.xml($services.model.serialize($xobjectPropertyReference))"
... ... @@ -197,7 +197,7 @@
197 197   ## Support for specifying a translation key as hint in the property definition.
198 198   <span class="xHint">$!escapetool.xml($services.localization.render($property.hint))</span>
199 199   </dt>
200 - <dd>$doc.display($property.name, 'edit')</dd>
200 + <dd>$doc.display($property.name)</dd>
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.