Changeset 3451 for WAeUP_SRP/base


Ignore:
Timestamp:
19 Apr 2008, 06:17:14 (17 years ago)
Author:
Henrik Bettermann
Message:

fix view and form

getClearanceInfo must be cleaned. This is a monster method.

Location:
WAeUP_SRP/base/skins/waeup_student
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/skins/waeup_student/clearance_edit_form.pt

    r2389 r3451  
    55  <metal:main fill-slot="main"
    66           tal:define="
    7                info context/getClearanceInfo;">
     7               info context/getClearanceInfo;
     8               s_name context/getStudentNameInContext;">
    89               
    910      <metal:block tal:condition="not: info">
     
    3637      <h3>
    3738        <span tal:condition="info">
    38           <span tal:content="info/student/Title" />:
     39          <span tal:content="s_name" />:
    3940        </span>
    4041        <span tal:content="here/title_or_id" />
  • WAeUP_SRP/base/skins/waeup_student/clearance_view.pt

    r3083 r3451  
    44                        is_so context/isSectionOfficer;
    55                        is_student context/isStudent;
     6                        s_name context/getStudentNameInContext;
    67                        ">
    78      <span tal:condition="not: info">
     
    2627        <h3>
    2728           <span tal:condition="python:is_so and info">
    28              <span tal:content="info/student/Title" />:
     29             <span tal:content="s_name" />:
    2930           </span>
    3031           <span tal:condition="python:is_student">
Note: See TracChangeset for help on using the changeset viewer.