Ignore:
Timestamp:
3 Nov 2005, 06:30:05 (19 years ago)
Author:
Henrik Bettermann
Message:

table_view veraendert

Location:
waeup_product/trunk/skins/waeup_default
Files:
2 edited

Legend:

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

    r138 r143  
    1818    <h1> <span tal:content="context/title_or_id" /></h1>     
    1919 
    20     <p>This is a temporary view of the object of type <em tal:content="here/portal_type" /> with id <em tal:content="here/id" /> which can be customized according to the customers needs.</p>       
     20    <p>This is a temporary view of the object with id <em tal:content="here/id" />
     21       of type <em tal:content="here/portal_type" />
     22       which can be customized according to the customers needs.</p>       
    2123 
    2224    <br />
     
    3234 
    3335 
    34   <tal:block condition="python: len(items)">
    35     <p tal:repeat="item items">
    36             <a href="jamb"
     36 
     37    <tal:block condition="python: len(items)"> 
     38    <table>
     39    <span tal:repeat="item items">
     40    <tr>
     41     <td>
     42      <span tal:content="item/portal_type" />:
     43     </td>
     44     <td>
     45      <i>
     46      <a href="jamb"
    3747               tal:attributes="href item/absolute_url"
    38                tal:content="item/title_or_id"></a>
    39             (Type: <span tal:content="item/portal_type" />)
    40       </p>
    41       </tal:block>
    42       <tal:block condition="python: not len(items)">
     48               tal:content="item/title_or_id"></a></i>
     49     </td>
     50     </tr>
     51    </span>
     52    </table>
     53    </tal:block>
     54   
     55    <tal:block condition="python: not len(items)">
    4356        (No items contained here!)
    44       </tal:block>
     57    </tal:block>
    4558 
    4659  </metal:block>
  • waeup_product/trunk/skins/waeup_default/waeup_layout_lib.pt

    r138 r143  
    2929<metal:block define-macro="table_view"
    3030             tal:define="layout options/layout">
    31 <table border="1">
     31<table border="0">
    3232    <tal:block repeat="row layout/rows">
    3333      <tr>
     
    4141              <tal:block condition="widget/label">
    4242              <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>
     43                <span i18n:translate="" tal:condition="widget/is_i18n">
     44                    <span tal:content="widget/label" />:</span>
     45                <span tal:condition="not:widget/is_i18n">
     46                    <span tal:content="widget/label" />:</span>
    4747              </td>
    4848              </tal:block>
    4949              <tal:block condition="not: widget/label">
    5050              <td>
    51                 <span class="dlabel" valign="top"> no label </span>
     51                <div valign="top"> no label </div>
    5252              </td>
    5353              </tal:block>             
    5454              <td>
    55                <span tal:condition="cell" tal:content="structure cell/widget_rendered"></span>
    56                <span tal:condition="not:cell/widget_rendered"> none </span>
     55               <div class="ddescription"  tal:condition="cell" tal:content="structure cell/widget_rendered"></div>
     56               <div class="ddescription" tal:condition="not:cell/widget_rendered"> none </div>
    5757             </td>
    5858            </div>
Note: See TracChangeset for help on using the changeset viewer.