avoid error if section has no parent book

This commit is contained in:
Helmut Merz 2013-08-22 09:20:57 +02:00
parent 2c474bf3a6
commit 476a02b635

View file

@ -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"