Changeset 836 for WAeUP_SRP/trunk/skins


Ignore:
Timestamp:
11 Nov 2006, 07:17:01 (18 years ago)
Author:
Henrik Bettermann
Message:

div view without headline instead of table view

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_student/widget_waeup_result_render.pt

    r833 r836  
    88">
    99<tal:block condition="python: mode == 'view'">
    10   <table>
    11     <tr><th>Subject</th><th>Grade</th>
    12     <tr tal:repeat="res results">
    13       <td tal:repeat="col res" tal:content="col" />
    14     </tr>
    15   </table>
     10    <div tal:repeat="res results">
     11      <span tal:repeat="col res"><span tal:content="col" />&nbsp;&nbsp;</span>
     12    </div>
    1613</tal:block>
    1714<tal:block define="name here/getHtmlWidgetId;"
    1815           condition="python: mode == 'edit'">
    19   <table>
     16  <table border=0 cellpadding=0 cellspacing=0>
    2017    <tr><th>Subject</th><th>Grade</th>
    2118    <tr tal:repeat="res results">
     
    2623                  tal:attributes="name string:${name}_s;
    2724                  id string:${name}_s;">
    28               <option tal:repeat="sub python:(('','----'),('Maths','Mathematics'),('English','English'))"
     25              <option tal:repeat="sub python:(('','----'),('Mathematics','Mathematics'),('English','English'))"
    2926                      tal:attributes="value python:sub[0]"
    3027                      tal:content="python: sub[1]">
Note: See TracChangeset for help on using the changeset viewer.