Last change
on this file since 7042 was
5167,
checked in by Henrik Bettermann, 15 years ago
|
move accommodation templates
|
File size:
1.3 KB
|
Rev | Line | |
---|
[5167] | 1 | <metal:body use-macro="here/main_template/macros/master"> |
---|
| 2 | <metal:main fill-slot="main" |
---|
| 3 | tal:define="info context/getAccommodationInfo"> |
---|
| 4 | <span tal:condition="python: not info or not info['acco']"> |
---|
| 5 | <span tal:content="here/illegal_view" /> |
---|
| 6 | </span> |
---|
| 7 | <span tal:condition="python: info and info['acco']"> |
---|
| 8 | |
---|
| 9 | <div style="text-align: right"> |
---|
| 10 | <a href="" target="slip" tal:attributes="href string:accommodation_slip" |
---|
| 11 | 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')"> |
---|
| 12 | <img tal:attributes="src string:${here/portal_url}/actionicon_print.png" /> |
---|
| 13 | Accommodation Slip |
---|
| 14 | </a> |
---|
| 15 | </div> |
---|
| 16 | <a href="" |
---|
| 17 | tal:attributes="href string:${here/academicsParent}"> |
---|
| 18 | <img tal:attributes="src string:${here/portal_url}/arrow_up.gif"/> |
---|
| 19 | Up one level |
---|
| 20 | </a> |
---|
| 21 | <h3>My Accommodation Record</h3> |
---|
| 22 | <br /> |
---|
| 23 | <span tal:omit-tag="" |
---|
| 24 | tal:content="structure python: info['acco_doc'].render(proxy=info['acco_doc'], |
---|
| 25 | layout_mode='view', |
---|
| 26 | layout_id='student_accommodation_fe')" |
---|
| 27 | /> |
---|
| 28 | </span> |
---|
| 29 | </metal:main> |
---|
| 30 | </metal:body> |
---|
Note: See
TracBrowser for help on using the repository browser.