Changeset 536


Ignore:
Timestamp:
19 Sep 2006, 14:13:59 (18 years ago)
Author:
Henrik Bettermann
Message:

table view in layout_application_view.pt adjusted
waeup_common layout in all types removed (was not necessary because it only showed the title)

Location:
WAeUP_SRP/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/profiles/default/types/Certificate.xml

    r486 r536  
    2424 </property>
    2525 <property name="layouts">
    26   <element value="waeup_common"/>
    2726  <element value="certificate"/>
    2827 </property>
     
    6261 </action>
    6362</object>
    64 
  • WAeUP_SRP/trunk/profiles/default/types/Course.xml

    r486 r536  
    2222 </property>
    2323 <property name="layouts">
    24   <element value="waeup_common"/>
    2524  <element value="course"/>
    2625 </property>
  • WAeUP_SRP/trunk/profiles/default/types/Faculty.xml

    r486 r536  
    2424 </property>
    2525 <property name="layouts">
    26   <element value="waeup_common"/>
    2726  <element value="faculty"/>
    2827 </property>
  • WAeUP_SRP/trunk/skins/waeup_default/layout_waeup_lib.pt

    r486 r536  
    3030<metal:block define-macro="table_view"
    3131             tal:define="layout options/layout">
    32 <table border="0" width=100%>
     32<table>
    3333    <tal:block repeat="row layout/rows">
    3434      <tr>
     
    4141                 >
    4242              <tal:block condition="widget/label">
    43               <td valign="top" width=40%>
     43              <td valign="top" width="150px">
    4444                <span i18n:translate="" tal:condition="widget/is_i18n">
    4545                    <span tal:content="widget/label" />:</span>
     
    5050              <tal:block condition="not: widget/label">
    5151              <td>
    52                 <div valign="top"> no label </div>
     52                <div valign="top" width=30%> no label </div>
    5353              </td>
    5454              </tal:block>             
  • WAeUP_SRP/trunk/skins/waeup_student/layout_application_view.pt

    r535 r536  
    1414                                 >
    1515  <span tal:condition="nothing" tal:replace="structure widgets" />
    16   <table width="100%" cellpadding="2" cellspacing="2" summary="layout">
     16  <table cellpadding="2" cellspacing="2" summary="layout">
    1717    <tr tal:repeat="field fields">
    18       <td tal:define="cell python: widgets[field]">
     18      <tal:block tal:define="cell python: widgets[field]">
    1919        <tal:block define="widget cell/widget">
    2020          <div tal:attributes="class cell/widget_css_class|nothing;
    21           id python:widget.getHtmlWidgetId()+'_widget';"
    22           >
     21            id python:widget.getHtmlWidgetId()+'_widget';">
     22            <td >
     23             <span class="dlabel"
     24                    tal:condition="widget/label"
     25                    tal:content="widget/label">label</span>:
     26            </td>
     27            <td>
     28               <span tal:replace="structure cell/widget_rendered" />
     29            </td>
     30          </div>
     31        </tal:block>
     32      </tal:block>
     33    </tr>
     34    <tr>
     35      <tal:block define="cell widgets/passport;
     36                         widget cell/widget"
     37                         >
     38          <div tal:attributes="class cell/widget_css_class|nothing;
     39              id python:widget.getHtmlWidgetId()+'_widget';">
     40            <td valign="top">
    2341            <tal:block condition="widget/label">
    2442              <span class="dlabel"
    25                     tal:content="widget/label">label</span>
     43                    tal:content="widget/label">label</span>:
    2644            </tal:block>
    27             <tal:block replace="structure cell/widget_rendered" />
     45            </td>
     46            <td>
     47              <img src="img" tal:attributes="src string:${context/aq_parent/absolute_url}/passport" />
     48            </td>
    2849          </div>
    29         </tal:block>
    30       </td>
    31     </tr>
    32     <tr>
    33       <td tal:define="cell widgets/passport">
    34         <tal:block define="widget cell/widget">
    35           <div tal:attributes="class cell/widget_css_class|nothing;
    36           id python:widget.getHtmlWidgetId()+'_widget';"
    37           >
    38             <tal:block condition="widget/label">
    39               <span class="dlabel"
    40                     tal:content="widget/label">label</span>
    41             </tal:block>
    42             <img src="img" tal:attributes="src string:${context/aq_parent/absolute_url}/passport" />
    43           </div>
    44         </tal:block>
    45       </td>
     50      </tal:block>
    4651    </tr>   
    4752  </table>
Note: See TracChangeset for help on using the changeset viewer.