equal
deleted
inserted
replaced
1 <h3 tal:content="view.title">title</h3> |
1 <tal:var define="renderer view.illustration_renderer; |
2 <tal:var content="structure view.render_illustration()">Illustration</tal:var> |
2 position renderer.position if renderer is not None else None;" |
3 <div tal:content="structure tales:html(view.body, 'oid_to_href')">body</div> |
3 switch="position"> |
|
4 <tal:var case="'before-title'">${structure:view.render_illustration()}</tal:var> |
|
5 <h2 tal:condition="position != 'before-title'">${view.title}</h2> |
|
6 <tal:var case="'before-body'">${structure:view.render_illustration()}</tal:var> |
|
7 <div>${structure:tales:html(view.body, 'oid_to_href')}</div> |
|
8 <tal:var case="'after-body'">${structure:view.render_illustration()}</tal:var> |
|
9 </tal:var> |