Changeset 2573 for WAeUP_SRP/base


Ignore:
Timestamp:
7 Nov 2007, 21:45:49 (17 years ago)
Author:
Henrik Bettermann
Message:

new student_application structure to include all data from applicants_catalog

Location:
WAeUP_SRP/base/skins
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/skins/waeup_layout/layout_application_view.pt

    r2243 r2573  
    11<!-- a layout_lib macro -->
    22<!-- $Id: layout_application_view.pt 1435 2007-02-19 10:35:10Z henrik $ -->
     3
     4<metal:define tal:define="isStaff context/isStaff;
     5                          isStudent context/isStudent;">
     6
     7<metal:block tal:condition="isStaff">             
     8<metal:block use-macro="here/layout_waeup_lib/macros/table_view"/>             
     9</metal:block>             
     10
    311<metal:block define-macro="default_view"
    4   tal:define="layout options/layout;
    5               dm options/datastructure/getDataModel;
    6               widgets python:context.getRenderedWidgets(layout);
    7               fields python:('jamb_reg_no',
     12       tal:condition="isStudent"
     13       tal:define="dm options/datastructure/getDataModel;
     14                   layout options/layout;
     15                   widgets python:context.getRenderedWidgets(layout);
     16                   fields python:('jamb_reg_no',
    817                                 'app_ac_pin',
    918                                 'app_ac_date',
     
    7079  </table>
    7180</metal:block>
     81</metal:define>
  • WAeUP_SRP/base/skins/waeup_student/application_view.pt

    r1783 r2573  
    2626              tal:content="structure python: info['app_doc'].render(proxy=info['app_doc'],
    2727              layout_mode='view',
    28               layout_id='student_application_fe')"
     28              layout_id='student_application')"
    2929              />
    3030      </span>
Note: See TracChangeset for help on using the changeset viewer.