improve breadcrumbs layout
This commit is contained in:
		
							parent
							
								
									3dd1698b80
								
							
						
					
					
						commit
						41847e26e2
					
				
					 1 changed files with 15 additions and 8 deletions
				
			
		| 
						 | 
				
			
			@ -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">
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue