Changeset 1884


Ignore:
Timestamp:
12 Jun 2007, 09:11:15 (18 years ago)
Author:
joachim
Message:

avoid error on anonymous view (in custom)

File:
1 edited

Legend:

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

    r1737 r1884  
    22    <metal:main fill-slot="main"
    33                tal:define="info context/getSessionResults">
    4       <div tal:condition="nothing" style="text-align: right">
    5         <a href="" target="slip" tal:attributes="href string:session_results_slip?nr=${info/student/matric_no}"
    6            onclick="javascript:window.open('','slip','width=600, height=700, directories=no, toolbar=no, location=no, menubar=yes, scrollbars=yes, status=no, resizable=no, dependent=no')">
    7           <img tal:attributes="src string:${here/portal_url}/actionicon_print.png" />
    8           Session Result Slip
    9         </a>
    10       </div>
     4    <span tal:condition="not: info">
     5      <span tal:content="here/illegal_view" />
     6    </span>
     7    <span tal:condition="info" tal:omit-tag="">
    118      <h3>Session Results of <span tal:content="info/student/name" />
    129      </h3>
     
    7168        </span>
    7269      </table>
    73 
     70    </span>
    7471    </metal:main>
    7572</metal:body>
Note: See TracChangeset for help on using the changeset viewer.