Ignore:
Timestamp:
11 Dec 2007, 15:40:35 (17 years ago)
Author:
Henrik Bettermann
Message:

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

fix Title for student_accommodation object

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/skins/cps_custom/main_template_popup.pt

    r2918 r2920  
    1 <metal:block define-macro="master" tal:define="
    2   showthirdcol showthirdcol|python:1;
     1<metal:block define-macro="master"
     2  tal:define="showthirdcol showthirdcol|python:1;
    33  emptybody emptybody|request/emptybody|nothing;
     4  mtool here/portal_membership;
     5 
    46  utool nocall:here/portal_url;
    57  atool here/portal_actions;
    6   mtool here/portal_membership;
    78  ttool here/portal_trees;
    89  wtool here/portal_workflow;
     10  ptool here/portal_cpsportlets;
    911  context_url python:here.getContextUrl(utool=utool);
    10   base_url python:utool.getBaseUrl();
    11  
     12  here_url here/absolute_url;
     13  base_url here/getBaseUrl;
    1214  static_dir here/portal_properties/static_dir;
    1315  static_base_url string:${here/getBaseUrl}${static_dir};
    14  
    15  
    16   here_url python:here.absolute_url();
    1716  member mtool/getAuthenticatedMember;
    1817  isAnon mtool/isAnonymousUser;
     18  isHomeless python:isAnon or member.getProperty('homeless', 0);
     19  isHomeless python:(isHomeless == '0' and [0] or [isHomeless])[0];
    1920  actions python:atool.listFilteredActionsFor(here);
    2021  wf_state python:wtool.getInfoFor(here,'review_state','');
    21   uname python:isAnon and 'Guest' or member.getUserName();
    22   checkPerm nocall:mtool/checkPermission;
     22  uname python: isAnon and 'Guest' or member.getUserName();
     23  checkPerm nocall: mtool/checkPermission;
    2324  cpsmcat nocall:here/translation_service;
    2425  locale here/translation_service/getSelectedLanguage;
    2526  in_ws here/isInWorkspace;
    26   "><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
     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">
    2735<html xmlns="http://www.w3.org/1999/xhtml"
    2836  tal:attributes="lang locale; xml:lang locale">
     
    3442  <metal:block fill-slot="head_slot"><metal:block define-slot="head_slot"
    3543    /></metal:block>
    36   <metal:block fill-slot="style_slot"><metal:block define-slot="style_slot"
    37     /></metal:block>
     44
    3845  <metal:block fill-slot="javascript_head_slot"><metal:block
    3946    define-slot="javascript_head_slot"
Note: See TracChangeset for help on using the changeset viewer.