Changes for page homeopathsSheet
Last modified by Jip-jan Alunkel on March 26, 17:31
From version 3.249
edited by Jip-jan Alunkel
on March 14, 20:36
on March 14, 20:36
Change comment:
Rollback to version 1.38
To version 3.240
edited by Jip-jan Alunkel
on March 13, 23:59
on March 13, 23:59
Change comment:
Rollback to version 1.38
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -28,8 +28,6 @@ 28 28 #end 29 29 #end 30 30 ## The classProperties Map has to be in the order of how you want the form elements to appear in the form. 31 -## 'opener': 1 --> input functions as an interface control element, it 'opens' an additional block of form inputs. Only for select, input or radio inputs. 32 -## 'classless': 1 --> input is not bound to any XClass or XClass property. 33 33 ## 'disabled': 1 --> Will not show up in the form at all. 34 34 ## 'extraAttributes': {"disabled": "disabled"} --> Will show up in the form as a disabled input. 35 35 #set($classProperties = { ... ... @@ -53,7 +53,8 @@ 53 53 #if($hasRight) 54 54 <p class="buttons text-align-right"> 55 55 <a class="btn btn-primary" title="Edit" href="$doc.getURL('edit','editor=wysiwyg')" role="button" rel="nofollow"> 56 - <span class="btn-label">$services.localization.render("global.multiword.edit_content")</span> 54 + <span class="fa fa-pencil"></span> 55 + <span class="btn-label">Edit content</span> 57 57 </a> 58 58 </p> 59 59 #end ... ... @@ -62,27 +62,13 @@ 62 62 #if($xcontext.action == "view") 63 63 <h2 class="inline-data-summary">$services.localization.render("homeopaths.inlineDataSummary.sheet_properties")</h2> 64 64 <div id="${subjectTitle}" class="sheet_properties inline-data-summary"> 65 - ## Show the address 66 66 #createAddress($theClass 1) 67 - ## Set the XClass properties which you would like to be displayed. 68 68 #set($properties = ['nrOfHomeopaths','certification','certificationFrom']) 69 - ## Show the above chosen properties 70 70 #foreach($property in $properties) 71 71 #if($theDocObj.getProperty($property)) 72 - #set($hide = 0) 73 - #if($classProperties["$property"].containsKey('parent')) 74 - #set($parentKey = $classProperties["$property"].parent) 75 - #if($classProperties["$parentKey"].type == "checkbox" && $theDocObj.getProperty($property).value == 0) 76 -$theDocObj.getProperty($property).value 77 -ha 78 - #set($hide = 1) 79 - #end 80 - #end 81 - #if($hide == 0) 82 82 <p class="property"> 83 83 <span class="property-name">$services.localization.render("homeopaths.classproperty.${property}.label")</span> <span class="property-value">$doc.display($property)</span> 84 84 </p> 85 - #end 86 86 #end 87 87 #end 88 88 #if($hasRight)