Ignore:
Timestamp:
2 Nov 2005, 05:01:40 (19 years ago)
Author:
joachim
Message:

=henriks table view

File:
1 edited

Legend:

Unmodified
Added
Removed
  • waeup_product/trunk/skins/waeup_default/waeup_layout_lib.pt

    r137 r138  
    2929<metal:block define-macro="table_view"
    3030             tal:define="layout options/layout">
    31   <table>
     31<table border="1">
    3232    <tal:block repeat="row layout/rows">
    3333      <tr>
     
    4040                 >
    4141              <tal:block condition="widget/label">
    42                 <td class="dlabel" i18n:translate="" tal:condition="widget/is_i18n"
    43                     tal:content="widget/label">label</td>
    44                 <td class="dlabel" tal:condition="not:widget/is_i18n"
    45                     tal:content="widget/label">label</td>
     42              <td valign="top">
     43                <span class="dlabel" i18n:translate="" tal:condition="widget/is_i18n"
     44                    tal:content="widget/label">label</span>
     45                <span class="dlabel" tal:condition="not:widget/is_i18n"
     46                    tal:content="widget/label">label</span>
     47              </td>
    4648              </tal:block>
    47               <td tal:content="structure cell/widget_rendered"></td>
     49              <tal:block condition="not: widget/label">
     50              <td>
     51                <span class="dlabel" valign="top"> no label </span>
     52              </td>
     53              </tal:block>             
     54              <td>
     55               <span tal:condition="cell" tal:content="structure cell/widget_rendered"></span>
     56               <span tal:condition="not:cell/widget_rendered"> none </span>
     57             </td>
    4858            </div>
    4959          </tal:block>
Note: See TracChangeset for help on using the changeset viewer.