correctly position div element for headline and body of concept subpage
This commit is contained in:
parent
77bf66996a
commit
b34b5705e0
1 changed files with 12 additions and 7 deletions
|
@ -30,7 +30,7 @@
|
|||
item nocall:target"
|
||||
tal:attributes="class string:content-$level;
|
||||
id id;
|
||||
ondblclick python: target.openEditWindow('configure.html')">
|
||||
ondblclick python:target.openEditWindow('configure.html')">
|
||||
<metal:body use-macro="item/macro">
|
||||
The body
|
||||
</metal:body>
|
||||
|
@ -41,17 +41,22 @@
|
|||
|
||||
|
||||
<metal:body define-macro="conceptbody">
|
||||
<tal:body define="body item/body;">
|
||||
<tal:body define="body item/body;
|
||||
itemNum view/itemNum;
|
||||
id string:$itemNum.body">
|
||||
<div class="content-1" id="1"
|
||||
tal:attributes="class string:content-$level;
|
||||
id string:${view/itemNum}.body;
|
||||
ondblclick python: item.openEditWindow('configure.html')">
|
||||
ondblclick python:item.openEditWindow('configure.html')">
|
||||
<span tal:content="structure body">Node Body</span>
|
||||
</div>
|
||||
<tal:concepts define="item nocall:item/targetObjectView;
|
||||
macro item/macro">
|
||||
<div metal:use-macro="macro" />
|
||||
</tal:concepts>
|
||||
<div tal:define="item nocall:item/targetObjectView;
|
||||
macro item/macro">
|
||||
<div tal:attributes="class string:content-$level;
|
||||
id id;">
|
||||
<div metal:use-macro="macro" />
|
||||
</div>
|
||||
</div>
|
||||
</tal:body>
|
||||
</metal:body>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue