Line | |
---|
1 | <html metal:use-macro="here/content_lib_master/macros/master"> |
---|
2 | <metal:block fill-slot="head_slot"> |
---|
3 | </metal:block> |
---|
4 | |
---|
5 | <metal:block fill-slot="css_slot"> |
---|
6 | <link rel="Stylesheet" type="text/css" href="" |
---|
7 | tal:attributes="href string:${base_url}document.css" /> |
---|
8 | </metal:block> |
---|
9 | <metal:block fill-slot="header"> |
---|
10 | </metal:block> |
---|
11 | |
---|
12 | <metal:block fill-slot="main" |
---|
13 | tal:define="roles member/getRoles; |
---|
14 | backend python:'UniversityManager' in roles or 'StudentManager' in roles; |
---|
15 | frontend python:'Student' in roles or isAnon; |
---|
16 | folder here/getContent; |
---|
17 | items python:context.filterContents(items=context.contentValues());" |
---|
18 | > |
---|
19 | <h1> <span tal:content="context/title_or_id" /></h1> |
---|
20 | |
---|
21 | <p>This is a temporary view of the Students Registration view for anonymous users..</p> |
---|
22 | |
---|
23 | <br /> |
---|
24 | <span tal:condition="python:context.portal_type != 'University'" tal:omit-tag=""> |
---|
25 | <p>You are visiting the Student Registration Portal as anonymous user. |
---|
26 | </p> |
---|
27 | </span> |
---|
28 | |
---|
29 | </metal:block> |
---|
30 | <metal:block fill-slot="sub"> |
---|
31 | </metal:block> |
---|
32 | </html> |
---|
Note: See
TracBrowser for help on using the repository browser.