source: WAeUP_SRP/trunk/skins/cps_custom/main_template_popup.pt @ 3954

Last change on this file since 3954 was 2920, checked in by Henrik Bettermann, 17 years ago

upload missing passport before starting clearance (logic in application_edit.py completely changed)

fix Title for student_accommodation object

File size: 2.1 KB
Line 
1<metal:block define-macro="master"
2  tal:define="showthirdcol showthirdcol|python:1;
3  emptybody emptybody|request/emptybody|nothing;
4  mtool here/portal_membership;
5 
6  utool nocall:here/portal_url;
7  atool here/portal_actions;
8  ttool here/portal_trees;
9  wtool here/portal_workflow;
10  ptool here/portal_cpsportlets;
11  context_url python:here.getContextUrl(utool=utool);
12  here_url here/absolute_url;
13  base_url here/getBaseUrl;
14  static_dir here/portal_properties/static_dir;
15  static_base_url string:${here/getBaseUrl}${static_dir};
16  member mtool/getAuthenticatedMember;
17  isAnon mtool/isAnonymousUser;
18  isHomeless python:isAnon or member.getProperty('homeless', 0);
19  isHomeless python:(isHomeless == '0' and [0] or [isHomeless])[0];
20  actions python:atool.listFilteredActionsFor(here);
21  wf_state python:wtool.getInfoFor(here,'review_state','');
22  uname python: isAnon and 'Guest' or member.getUserName();
23  checkPerm nocall: mtool/checkPermission;
24  cpsmcat nocall:here/translation_service;
25  locale here/translation_service/getSelectedLanguage;
26  in_ws here/isInWorkspace;
27  waeup_skin here/get_waeup_skin;
28  student_theme python:test(waeup_skin == 'WAeUP_Student',1,0);
29  navigation_slot python:test(student_theme,'student_navigation_slot','navigation_slot');
30  object_tabs python:test(student_theme,'student_object_slot','staff_object_slot');
31 
32  ">
33 
34<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
35<html xmlns="http://www.w3.org/1999/xhtml"
36  tal:attributes="lang locale; xml:lang locale">
37<head>
38<metal:block use-macro="here/header_lib_header/macros/header">
39  <metal:block fill-slot="base"><metal:block define-slot="base"><base
40    href="" tal:attributes="href string:${here_url}/"
41    /></metal:block></metal:block>
42  <metal:block fill-slot="head_slot"><metal:block define-slot="head_slot"
43    /></metal:block>
44
45  <metal:block fill-slot="javascript_head_slot"><metal:block
46    define-slot="javascript_head_slot"
47    /></metal:block>
48</metal:block>
49</head>
50<body OnLoad="setFocus()" tal:condition="emptybody">
51  <metal:block define-slot="body" />
52  <metal:block define-slot="main" />
53</body>
54</html>
55</metal:block>
Note: See TracBrowser for help on using the repository browser.