Changeset 138 for waeup_product/trunk
- Timestamp:
- 2 Nov 2005, 05:01:40 (19 years ago)
- Location:
- waeup_product/trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup_product/trunk/skins/waeup_default/layout_waeup_view.pt
r137 r138 1 <metal:block use-macro="here/waeup_layout_lib/macros/ div_view" />1 <metal:block use-macro="here/waeup_layout_lib/macros/table_view" /> -
waeup_product/trunk/skins/waeup_default/temporary_view_all.pt
r137 r138 18 18 <h1> <span tal:content="context/title_or_id" /></h1> 19 19 20 <p>This is a temporary view of the object 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 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> 21 21 22 22 <br /> … … 34 34 <tal:block condition="python: len(items)"> 35 35 <p tal:repeat="item items"> 36 <span tal:content="item/portal_type" />37 36 <a href="jamb" 38 37 tal:attributes="href item/absolute_url" 39 38 tal:content="item/title_or_id"></a> 39 (Type: <span tal:content="item/portal_type" />) 40 40 </p> 41 41 </tal:block> 42 42 <tal:block condition="python: not len(items)"> 43 (No items contained here 43 (No items contained here!) 44 44 </tal:block> 45 45 -
waeup_product/trunk/skins/waeup_default/waeup_layout_lib.pt
r137 r138 29 29 <metal:block define-macro="table_view" 30 30 tal:define="layout options/layout"> 31 <table>31 <table border="1"> 32 32 <tal:block repeat="row layout/rows"> 33 33 <tr> … … 40 40 > 41 41 <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> 46 48 </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> 48 58 </div> 49 59 </tal:block>
Note: See TracChangeset for help on using the changeset viewer.