Changeset 740 for WAeUP_SRP/trunk/skins


Ignore:
Timestamp:
21 Oct 2006, 13:53:38 (18 years ago)
Author:
Henrik Bettermann
Message:

student's name appears in title if isManager

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

Legend:

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

    r723 r740  
    11<metal:html tal:define="info context/getStudyCourseInfo;
    2             is_manager info/is_manager|nothing;"
     2            is_manager info/is_manager|nothing;
     3            s_info context/getStudentInfo;"
    34            >
    45  <metal:body use-macro="here/waeup_content_master/macros/master">
     
    910        Up one level
    1011      </a>
    11       <h3 tal:content="here/title_or_id" />
     12      <h3>
     13         <span tal:condition="python:is_manager and s_info">
     14           <span tal:content="s_info/student/Title" />:
     15         </span>
     16        <span tal:content="here/title_or_id" />
     17      </h3>
    1218    </metal:block>
    1319    <metal:main fill-slot="main">
  • WAeUP_SRP/trunk/skins/waeup_student/study_level_view.pt

    r731 r740  
    11<metal:html tal:define="info context/getStudyLevelInfo;
    2             is_manager info/is_manager|nothing;"
     2            is_manager info/is_manager|nothing;
     3            s_info context/getStudentInfo;"
    34            >
    45  <metal:body use-macro="here/waeup_content_master/macros/master">
     
    910        Up one level
    1011      </a>
    11       <h3 tal:content="here/title_or_id" />
     12      <h3>
     13         <span tal:condition="python:is_manager and s_info">
     14           <span tal:content="s_info/student/Title" />:
     15         </span>
     16         <span tal:content="here/title_or_id" />
     17      </h3>
    1218      <div tal:condition="python:0" tal:content="info/container_path"/>
    1319      <div tal:condition="python:0" tal:content="info/cert_id"/>
Note: See TracChangeset for help on using the changeset viewer.