Ignore:
Timestamp:
29 Aug 2006, 11:56:53 (18 years ago)
Author:
joachim
Message:

levels can be created
keyerror elective fixed
check for blanks in Id's checked

Location:
WAeUP_SRP/trunk/profiles/default
Files:
6 added
8 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/profiles/default/layouts/study_level.xml

    r370 r440  
    77 <property name="flexible_widgets"/>
    88 <property name="validate_values_expr"></property>
    9  <widget name="Title" meta_type="String Widget">
    10   <property name="title">Title</property>
     9 <widget name="code" meta_type="String Widget">
     10  <property name="title">Level No</property>
    1111  <property name="fields">
    12    <element value="Title"/>
    13   </property>
    14   <property name="label">Level Nr</property>
    15   <property name="label_edit">Level Nr</property>
    16   <property name="readonly_layout_modes"/>
    17   <property name="hidden_layout_modes"/>
    18   <property name="hidden_readonly_layout_modes"/>
    19   <property name="display_width">40</property>
    20  </widget>
    21  <widget name="sc_id" meta_type="String Widget">
    22   <property name="title">SC ID</property>
    23   <property name="fields">
    24    <element value="sc_id"/>
    25   </property>
    26   <property name="label">Card Serial Number </property>
    27   <property name="label_edit">Card Serial Number</property>
    28   <property name="description">Card Serial Number </property>
    29   <property
    30      name="help">This can be found on the bottom right of the reverse side of your Scratch Card</property>
    31   <property name="readonly_layout_modes"/>
    32   <property name="hidden_layout_modes"/>
    33   <property name="hidden_readonly_layout_modes"/>
    34   <property name="hidden_if_expr">python:1</property>
    35   <property name="display_width">10</property>
    36  </widget>
    37  <widget name="sc_pin" meta_type="Scratchcard Pin Widget">
    38   <property name="title">SC PIN</property>
    39   <property name="fields">
    40    <element value="sc_pin"/>
     12   <element value="code"/>
    4113  </property>
    4214  <property name="is_required">True</property>
    43   <property name="label">Enter  PIN</property>
    44   <property
    45      name="label_edit">Enter Scratchcard Pin with the value above</property>
    46   <property
    47      name="help">Please enter a Scratchcard Pin valid for Registration of Next Level</property>
     15  <property name="label">Level No</property>
     16  <property name="label_edit">Level No</property>
    4817  <property name="readonly_layout_modes"/>
    49   <property name="hidden_layout_modes"/>
    50   <property name="hidden_readonly_layout_modes"/>
    51   <property name="display_width">10</property>
    52   <property name="size_max">10</property>
    53  </widget>
    54  <widget name="sc_value" meta_type="Float Widget">
    55   <property name="title">Scratch card value</property>
    56   <property name="fields">
    57    <element value="sc_value"/>
    58   </property>
    59   <property name="label">Scratcard Value</property>
    60   <property name="label_edit">Scratcard Value</property>
    61   <property name="readonly_layout_modes">
    62    <element value="create"/>
    63   </property>
    6418  <property name="hidden_layout_modes"/>
    6519  <property name="hidden_readonly_layout_modes"/>
     
    6721 <table>
    6822  <row>
    69    <cell name="Title"/>
     23   <cell name="code"/>
    7024  </row>
    7125 </table>
  • WAeUP_SRP/trunk/profiles/default/roots/campus.xml

    r326 r440  
    66  <object name="accommodation" portal_type="AccoFolder" />
    77  <object name="students" portal_type="StudentsFolder" />
     8  <object name="pins" portal_type="ScratchCardBatchesFolder" />
    89</object>
  • WAeUP_SRP/trunk/profiles/default/schemas/study_level.xml

    r199 r440  
    11<?xml version="1.0"?>
    22<object name="study_level" meta_type="CPS Schema">
    3  <field name="sc_id" meta_type="CPS String Field">
    4   <property name="is_searchabletext">True</property>
    5   <property name="acl_write_roles">SectionReader</property>
    6  </field>
    7  <field name="sc_pin" meta_type="CPS String Field">
    8   <property name="is_searchabletext">True</property>
    9   <property name="acl_write_roles">SectionReader</property>
    10  </field>
    11  <field name="sc_value" meta_type="CPS Float Field">
    12   <property name="default_expr">python:1000.</property>
    13   <property name="is_searchabletext">True</property>
    14  </field>
     3 <field name="code" meta_type="CPS String Field"/>
    154</object>
     5
  • WAeUP_SRP/trunk/profiles/default/toolset.xml

    r404 r440  
    33 <required tool_id="portal_accommodation"
    44           class="Products.WAeUP_SRP.WAeUPTables.AccommodationTable"/>
     5 <required tool_id="portal_pins"
     6           class="Products.WAeUP_SRP.WAeUPTables.PinTable"/>
    57</tool-setup>
  • WAeUP_SRP/trunk/profiles/default/types/Semester.xml

    r435 r440  
    2121 <property name="cps_display_as_document_in_listing">True</property>
    2222 <property name="schemas">
    23  </property>
     23<element value="metadata"/>
     24  </property>
    2425 <property name="layouts"/>
    2526 <property name="layout_clusters">
     
    3536  <permission value="View"/>
    3637 </action>
    37  <action title="Book Semester Courses" action_id="book_semester_courses"
    38     category="object" condition_expr=""
    39     url_expr="string:${object_url}/book_semester_courses" visible="False">
    40   <permission value="Take ownership"/>
    41  </action>
    42  <action title="action_metadata" action_id="metadata" category="object"
    43     condition_expr=""
    44     url_expr="string:${object_url}/cpsdocument_metadata" visible="False">
    45   <permission value="Modify portal content"/>
    46  </action>
    47  <action title="Delegate" action_id="localroles" category="object"
    48     condition_expr="" url_expr="string:${object_url}/folder_localrole_form"
    49     visible="False">
    50   <permission value="Modify portal content"/>
    51  </action>
    5238 <action title="Add Course" action_id="new_entry" category="object"
    5339    condition_expr=""
  • WAeUP_SRP/trunk/profiles/default/types/StudentPersonal.xml

    r435 r440  
    1313 <property name="allowed_content_types"/>
    1414 <property name="allow_discussion">False</property>
    15  <property name="cps_is_searchable">True</property>
     15 <property name="cps_is_searchable">False</property>
    1616 <property name="cps_proxy_type">document</property>
    1717 <property name="cps_display_as_document_in_listing">True</property>
  • WAeUP_SRP/trunk/profiles/default/types/StudyLevel.xml

    r435 r440  
    88 <property name="product">WAeUP_SRP</property>
    99 <property name="factory">addStudyLevel</property>
    10  <property name="immediate_view">folder_view</property>
     10 <property name="immediate_view">academics_contents</property>
    1111 <property name="global_allow">True</property>
    1212 <property name="filter_content_types">True</property>
     
    2424  <element value="study_level"/>
    2525 </property>
    26  <property name="layout_clusters">
    27   <element value=""/>
    28  </property>
     26 <property name="layout_clusters"/>
    2927 <property name="flexible_layouts"/>
    3028 <property name="storage_methods"/>
    3129 <property name="cps_is_portlet">False</property>
    3230 <alias from="(Default)" to="academics_contents"/>
     31 <alias from="create_do" to="waeup_document_create_do"/>
    3332 <alias from="created" to="level_created"/>
    3433 <alias from="view" to="academics_contents"/>
  • WAeUP_SRP/trunk/profiles/default/workflows.xml

    r427 r440  
    8787   <bound-workflow workflow_id="section_folder_wf"/>
    8888  </type>
    89   <type type_id="Workspace">
    90    <bound-workflow workflow_id="workspace_folder_wf"/>
     89  <type type_id="ScratchCardBatchesFolder">
     90   <bound-workflow workflow_id="section_folder_wf"/>
     91  </type>
     92  <type type_id="ScratchCardBatch">
     93   <bound-workflow workflow_id="section_folder_wf"/>
    9194  </type>
    9295 </bindings>
Note: See TracChangeset for help on using the changeset viewer.