Changeset 748 for WAeUP_SRP


Ignore:
Timestamp:
25 Oct 2006, 08:11:53 (18 years ago)
Author:
Henrik Bettermann
Message:

student_view corrected

Location:
WAeUP_SRP/trunk/skins
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_default/portlet_waeup_status_display.pt

    r744 r748  
    1414                                        'content_addable',
    1515                                        'bed_reserved',
    16                                         'maintenance_fee_paid'
    17                                         ];">
     16                                        'maintenance_fee_paid'];">
    1817
    1918<span tal:condition="python:path('info/review_state') in status_list ">
  • WAeUP_SRP/trunk/skins/waeup_student/getStudentInfo.py

    r742 r748  
    2929        student_id = path_info[path_info.index('students')+1]
    3030    else:
    31         student_id = member_id 
     31        student_id = member_id
    3232else:
    3333    student_id = student.getId()
     
    5656    info['acco'] = acco
    5757    info['acco_doc'] = acco.getContent()
    58     info['acco_review_state'] = wf.getInfoFor(acco,'review_state',None) 
     58    info['acco_review_state'] = wf.getInfoFor(acco,'review_state',None)
    5959else:
    6060    info['acco'] = None
     
    6666              }
    6767s_view_links = {'StudentApplication': None,
    68               'StudentAccommodation': None,
     68              'StudentAccommodation': 'accommodation_view',
    6969              'StudentPersonal': None,
     70              'StudentApplication': 'application_view',
    7071              'StudentStudyCourse': 'study_course_view',
    7172              }
  • WAeUP_SRP/trunk/skins/waeup_student/student_view.pt

    r723 r748  
    2323          <tr tal:repeat="row rows"
    2424            tal:attributes="class python:test(repeat['row'].even(), 'even ajaxtd', 'odd ajaxtd')">
    25             <td><a href="view" tal:attributes="href string:${row/s_view_link}">
     25            <td><a href="view" tal:attributes="href string:${row/url}">
    2626              <strong tal:content="row/title" /></a> </td>
    2727            <td>
Note: See TracChangeset for help on using the changeset viewer.