projects
/
Plinn.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
buxfix traduction de la byline
[Plinn.git]
/
skins
/
custom_content
/
document_view.pt
diff --git
a/skins/custom_content/document_view.pt
b/skins/custom_content/document_view.pt
index
7f95af7
..
a77a35a
100755
(executable)
--- a/
skins/custom_content/document_view.pt
+++ b/
skins/custom_content/document_view.pt
@@
-7,7
+7,8
@@
<body>
<div metal:fill-slot="main" tal:omit-tag="">
<body>
<div metal:fill-slot="main" tal:omit-tag="">
- <div tal:replace="structure here/CookedBody">Cooked Body</div>
+ <div tal:condition="python:here.Format() == 'text/html'" tal:replace="structure here/EditableBody">Editable Body</div>
+ <div tal:condition="python:here.Format() != 'text/html'" tal:replace="structure here/CookedBody">Cooked Body</div>
</div>
</body>
</div>
</body>