improve breadcrumbs layout

This commit is contained in:
Helmut Merz 2011-12-06 09:32:15 +01:00
parent 3dd1698b80
commit 41847e26e2

View file

@ -27,14 +27,21 @@
<div id="content" class="span-6"
metal:define-macro="content">
<metal:breadcrumbs define-slot="breadcrumbs">
<div tal:define="crumbs view/breadcrumbs"
tal:condition="crumbs">
<span i18n:translate="">You are here:</span>
<span tal:repeat="crumb crumbs">
<a tal:attributes="href crumb/url"
tal:content="crumb/label" />
<span tal:condition="not:repeat/crumb/end"> > </span></span>
</div></metal:breadcrumbs>
<table tal:define="crumbs view/breadcrumbs"
tal:condition="crumbs">
<tr>
<td style="white-space: nowrap; vertical-align: top"
i18n:translate="">You are here:</td>
<td>
<span style="white-space: nowrap"
tal:repeat="crumb crumbs">
<a tal:attributes="href crumb/url"
tal:content="crumb/label" />
<span tal:condition="not:repeat/crumb/end"> > </span></span>
</td>
</tr>
</table>
</metal:breadcrumbs>
<div metal:define-slot="actions"></div>
<div metal:define-slot="message"></div>
<metal:content define-slot="content">