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,12 +30,13 @@
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"
title parent/title"> tal:attributes="href parent/targetUrl;
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"
tal:attributes="href succ/targetUrl; tal:attributes="href succ/targetUrl;
title succ/title"> title succ/title">
<img src="/@@/cybertools.icons/arrow_right.png" /></a> <img src="/@@/cybertools.icons/arrow_right.png" /></a>
</div> </div>
</metal:navigation> </metal:navigation>