Changes for page homeopathsSheet

Last modified by Jip-jan Alunkel on March 26, 17:31

From version 3.148
edited by Jip-jan Alunkel
on March 11, 14:29
Change comment: Rollback to version 1.38
To version 3.149
edited by Jip-jan Alunkel
on March 11, 14:34
Change comment: Rollback to version 1.38

Summary

Details

Page properties
Content
... ... @@ -18,13 +18,11 @@
18 18   #set($theClass = $docObjectKey)
19 19   #end
20 20  #end
21 -$theDocObj.getProperty('doc_owner').value
22 -$theClass
23 23  #set($isInline = $xcontext.action == 'edit' && $request.get('editor') == 'inline')
24 24  ##set($theClass = "homeopaths.Code.homeopathsClass")
25 25  ## Create object (important for sheet binding, do not remove)
26 26  ##set($theDocObj = $doc.getObject($theClass, true))
27 -#set($hasRight = !$isGuest && ($theDocObj.getProperty('user').value == $context.getUser() || $hasAdmin))
25 +#set($hasRight = !$isGuest && ($theDocObj.getProperty('doc_owner').value == $context.getUser() || $hasAdmin))
28 28  $theDoc.getContent()
29 29  {{html wiki="true" clean="false"}}
30 30  #if(!$isGuest)