avoid error if section has no parent book
This commit is contained in:
		
							parent
							
								
									2c474bf3a6
								
							
						
					
					
						commit
						476a02b635
					
				
					 1 changed files with 6 additions and 5 deletions
				
			
		|  | @ -30,7 +30,8 @@ | ||||||
|          tal:attributes="href pred/targetUrl; |          tal:attributes="href pred/targetUrl; | ||||||
|                          title pred/title"> |                          title pred/title"> | ||||||
|         <img src="/@@/cybertools.icons/arrow_left.png" /></a> |         <img src="/@@/cybertools.icons/arrow_left.png" /></a> | ||||||
|       <a tal:attributes="href parent/targetUrl; |       <a tal:condition="nocall:parent" | ||||||
|  |          tal:attributes="href parent/targetUrl; | ||||||
|                          title parent/title"> |                          title parent/title"> | ||||||
|         <img src="/@@/cybertools.icons/arrow_up.png" /></a> |         <img src="/@@/cybertools.icons/arrow_up.png" /></a> | ||||||
|       <a tal:condition="nocall:succ" |       <a tal:condition="nocall:succ" | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue