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
				
			
		|  | @ -41,17 +41,22 @@ | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| <metal:body define-macro="conceptbody"> | <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" |     <div class="content-1" id="1" | ||||||
|          tal:attributes="class string:content-$level; |          tal:attributes="class string:content-$level; | ||||||
|                          id string:${view/itemNum}.body; |                          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> |       <span tal:content="structure body">Node Body</span> | ||||||
|     </div> |     </div> | ||||||
|     <tal:concepts define="item nocall:item/targetObjectView; |     <div tal:define="item nocall:item/targetObjectView; | ||||||
|                      macro item/macro"> |                      macro item/macro"> | ||||||
|  |       <div tal:attributes="class string:content-$level; | ||||||
|  |                            id id;"> | ||||||
|         <div metal:use-macro="macro" /> |         <div metal:use-macro="macro" /> | ||||||
|     </tal:concepts> |       </div> | ||||||
|  |     </div> | ||||||
|   </tal:body> |   </tal:body> | ||||||
| </metal:body> | </metal:body> | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue