Ignore:
Timestamp:
11 Oct 2005, 12:10:17 (19 years ago)
Author:
joachim
Message:

major rewrite

Location:
waeup_product/trunk/skins/waeup_student
Files:
2 added
1 edited
2 moved

Legend:

Unmodified
Added
Removed
  • waeup_product/trunk/skins/waeup_student/create_student_form.pt

    r44 r45  
    1414               tal:define="items here/contentValues"
    1515               >
    16     <form action="content_create" tal:attributes="action string:${here_url}/content_create"
     16    <form action="content_create" tal:attributes="action string:${here_url}/create_student"
    1717          method="post" class="group">
    1818      <dt>
  • waeup_product/trunk/skins/waeup_student/student_view_main.pt

    r19 r45  
    1313<metal:block fill-slot="main"
    1414             tal:define="student here/getContent;
    15              items here/contentValues">
    16 <span tal:condition="python: 0" tal:content="items" />
    17 <table cellspacing="0" cellpadding="0">
    18     <tal:block condition="python: len(items)">
    19       <tr tal:repeat="item items">
    20         <td colspan="1">
    21           <a href="jamb"
    22              tal:attributes="href item/absolute_url"
    23              tal:content="item/title_or_id"></a>
    24       </td>
     15             items here/contentValues"
     16             >
     17    <span tal:condition="python: 0" tal:content="items" />
     18    <tal:block tal:content="structure student/jamb_where_admitted" />
     19    <table cellspacing="0" cellpadding="0">
     20      <tal:block condition="python: len(items)">
     21        <tr tal:repeat="item items">
     22          <td colspan="1">
     23            <a href="jamb"
     24               tal:attributes="href item/absolute_url"
     25               tal:content="item/title_or_id"></a>
     26          </td>
     27        </tr>
     28      </tal:block>
     29      <tr tal:condition="python:not len(items)">
     30        <td>
     31          no Items yet !
     32        </td>
    2533      </tr>
    26     </tal:block>
    27     <tr tal:condition="python:not len(items)">
    28       <td>
    29         no Items yet !
    30       </td>
    31     </tr>
    32   </table>
    33 </metal:block>
     34    </table>
     35  </metal:block>
    3436</html>
Note: See TracChangeset for help on using the changeset viewer.