Changeset 840 for WAeUP_SRP/trunk


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

'Clearance/Eligibility? Record' instead of 'Clearance Data'
dynamical view title of StudentClearance? objects

Location:
WAeUP_SRP/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/Students.py

    r790 r840  
    136136                student_obj.invokeFactory('StudentClearance','clearance')
    137137                clearance = student_obj.clearance
    138                 dc = {'Title': 'Clearance Data'}
     138                dc = {'Title': 'Clearance/Eligibility Record'}
    139139                dc['matric_no'] = matric_no
    140140                state = student.get('State')
     
    324324            student.invokeFactory('StudentClearance','clearance')
    325325            #wftool.doActionFor(student.clearance,'open')
    326             dp = {'Title': 'Clearance Data'}
     326            dp = {'Title': 'Clearance/Eligibility Record'}
    327327            student.clearance.manage_setLocalRoles(sid, ['Owner',])
    328328            student.invokeFactory('StudentPume','pume')
     
    762762        """compose title"""
    763763        content = self.getContent()
    764         #return "Clearance Data for %s %s" % (content.firstname,content.lastname)
    765         return "Clearance Data"
     764        #return "Clearance/Eligibility Record for %s %s" % (content.firstname,content.lastname)
     765        return "Clearance/Eligibility Record"
    766766
    767767
  • WAeUP_SRP/trunk/profiles/default/types/StudentClearance.xml

    r839 r840  
    22<object name="StudentClearance" meta_type="CPS Flexible Type Information"
    33   xmlns:i18n="http://xml.zope.org/namespaces/i18n">
    4  <property name="title">WAeUP Student Clearance Data</property>
     4 <property name="title">WAeUP Student Clearance/Eligibility Data</property>
    55 <property name="description"></property>
    66 <property name="content_icon"></property>
  • WAeUP_SRP/trunk/skins/waeup_student/clearance_view.pt

    r837 r840  
    1 <metal:html tal:define="info context/getStudentInfo">
     1<metal:html tal:define="info context/getStudentInfo;
     2                        is_manager info/is_manager|nothing;
     3                        is_student info/is_student|nothing;
     4                        s_info context/getStudentInfo;">
    25  <metal:body use-macro="here/waeup_content_master/macros/master">
    36    <metal:main fill-slot="main">
     
    1821        </div>
    1922
    20         <h3>My Clearance/Eligibility Record</h3>
     23        <h3>
     24           <span tal:condition="python:is_manager and s_info">
     25             <span tal:content="s_info/student/Title" />:
     26           </span>
     27           <span tal:condition="python:is_student">
     28             My
     29           </span>
     30           <span tal:content="here/title_or_id" />
     31        </h3>       
     32
    2133        <br />
    2234        <span tal:omit-tag=""
Note: See TracChangeset for help on using the changeset viewer.