Changes for page homeopathsSheet
Last modified by Jip-jan Alunkel on March 26, 17:31
From version 3.290
edited by Jip-jan Alunkel
on March 18, 22:50
on March 18, 22:50
Change comment:
Rollback to version 1.38
To version 3.291
edited by Jip-jan Alunkel
on March 18, 22:57
on March 18, 22:57
Change comment:
Rollback to version 1.38
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -49,6 +49,8 @@ 49 49 'certification': {'type': 'checkbox', 'opener': 1}, 50 50 'certificationFrom': {'type': 'text', 'parent': 'certification'} 51 51 }) 52 +## Set the XClass properties which you would like to be displayed. 53 +#set($properties = ['nrOfHomeopaths','certification','certificationFrom']) 52 52 ## Show the document content 53 53 $doc.getTranslatedDocument().getContent() 54 54 ... ... @@ -71,9 +71,7 @@ 71 71 <div id="${subject}" class="sheet_properties inline-data-summary"> 72 72 ## Show the address 73 73 #createAddress($theClass 1) 74 - ## Set the XClass properties which you would like to be displayed. 75 - #set($properties = ['nrOfHomeopaths','certification','certificationFrom']) 76 - ## Show the above chosen properties 76 + ## Show the chosen properties set at the beginning of this page. 77 77 #foreach($property in $properties) 78 78 #set($hide = 0) 79 79 ## All form elements that are hidden in the form should also be hidden in the page. ... ... @@ -219,12 +219,14 @@ 219 219 </div> 220 220 </div> 221 221 #end ## Hier een macro van maken: 'noInline' oid 222 -#elseif($xcontext.action == 'edit' && ($request.get('editor') == 'inline' || $request.get('section'))) 222 +#else 223 + #if($xcontext.action == 'edit' && ($request.get('editor') == 'inline' || $request.get('section'))) 223 223 <p>$services.localization.render("global.line.inline_noedit")</p> 224 224 <ul> 225 225 <li>[[$services.localization.render("global.line.edit_in_full")>>path:$doc.getURL('edit','editor=wysiwyg')]]</li> 226 226 <li>[[$services.localization.render("core.viewers.comments.preview.button.back")>>$doc.fullName]]</li> 227 227 </ul> 229 + #end 228 228 #end 229 229 #macro(createAddress $className $withLabel) 230 230 #set($docObj = $doc.getObject($className))