Changeset 1851 for WAeUP_SRP/trunk


Ignore:
Timestamp:
3 Jun 2007, 20:06:09 (17 years ago)
Author:
Henrik Bettermann
Message:

avoid AttributeError?: 'NoneType?' object has no attribute 'student'

File:
1 edited

Legend:

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

    r1753 r1851  
    22    <metal:main fill-slot="main"
    33                tal:define="info context/getSessionResults">
     4      <metal:block tal:condition="not: info">
     5        <span tal:content="here/illegal_view" />
     6      </metal:block>
     7      <metal:block tal:condition="info">               
    48      <div tal:condition="nothing" style="text-align: right">
    59        <a href="" target="slip" tal:attributes="href string:session_results_slip?nr=${info/student/matric_no}"
     
    7175        </span>
    7276      </table>
    73 
     77      </metal:block>
    7478    </metal:main>
    7579</metal:body>
Note: See TracChangeset for help on using the changeset viewer.