Changeset 781 for WAeUP_SRP


Ignore:
Timestamp:
2 Nov 2006, 14:33:30 (18 years ago)
Author:
Henrik Bettermann
Message:

unused state and transition in waeup_student_subobject_wf removed
prefix in atudent_application_fe changed
pume result display simplified

Location:
WAeUP_SRP/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/profiles/default/actions.xml

    r780 r781  
    22<object name="portal_actions" meta_type="CMF Actions Tool">
    33 <action-provider name="portal_membership">
    4   <action title="Login" action_id="login" category="user"
     4  <action title="Student Login" action_id="login" category="user"
    55     condition_expr="not: member"
    6      url_expr="string:${portal_url}/login_staff"
     6     url_expr="string:${portal_url}/login_student"
    77     visible="True">
    88   <permission>View</permission>
     
    132132  <action title="  " action_id="dummy2" category="object" condition_expr=""
    133133     url_expr="" visible="True"/>
    134   <action title="View PUME-Results" action_id="display_pume_result"
     134  <action title="Apply for PUME" action_id="apply_admission"
     135     category="student" condition_expr="not:member"
     136     url_expr="string:${portal_url}/apply_admission"
     137     visible="False">
     138   <permission>View</permission>
     139  </action>
     140  <action title="View PUME Results" action_id="display_pume_result"
    135141     category="student" condition_expr="not:member"
    136142     url_expr="string:${portal_url}/display_pume_result"
     
    142148     url_expr="string:${portal_url}/request_clearance"
    143149     visible="True">
    144    <permission>View</permission>
     150   <permission>False</permission>
    145151  </action>
    146152  <action title="Book Hostel" action_id="reserve_accommodation"
     
    148154     url_expr="string:${portal_url}/reserve_accommodation"
    149155     visible="True">
    150    <permission>View</permission>
     156   <permission>False</permission>
    151157  </action>
    152158  <action title="Register Courses" action_id="register_courses"
     
    154160     url_expr="string:${portal_url}/register_courses"
    155161     visible="True">
    156    <permission>View</permission>
    157   </action> 
     162   <permission>False</permission>
     163  </action>
    158164  <action title="Home" action_id="students_home" category="student_navigation"
    159165     condition_expr="member" url_expr="string:${portal_url}" visible="True">
  • WAeUP_SRP/trunk/profiles/default/layouts/student_application_fe.xml

    r770 r781  
    3636  <property name="hidden_layout_modes"/>
    3737  <property name="hidden_readonly_layout_modes"/>
    38   <property name="prefix">CLR</property>
     38  <property name="prefix">APP</property>
    3939  <property name="reference">jamb_reg_no</property>
    4040  </widget>
  • WAeUP_SRP/trunk/profiles/default/workflows/waeup_student_subobject_wf/definition.xml

    r780 r781  
    99 <state state_id="closed" title="">
    1010  <exit-transition transition_id="open"/>
    11   <exit-transition transition_id="publish"/>
    1211 </state>
    1312 <state state_id="content_addable" title="">
     
    5554  </permission-map>
    5655 </state>
    57  <state state_id="public" title="">
    58   <exit-transition transition_id="close"/>
    59   <permission-map name="Add portal content" acquired="True">
    60   </permission-map>
    61   <permission-map name="Modify portal content"
    62                   acquired="True">
    63   </permission-map>
    64   <permission-map name="View" acquired="True">
    65    <permission-role>Anonymous</permission-role>
    66   </permission-map>
    67  </state>
    6856 <transition transition_id="close" title=""
    6957             new_state="closed" trigger="USER"
    7058             before_script="" after_script="">
    71  
     59
    7260  <guard>
    7361   <guard-role>Manager</guard-role>
     
    7967             new_state="content_addable" trigger="USER"
    8068             before_script="" after_script="">
    81  
     69
    8270  <guard>
    8371  </guard>
     
    8674             new_state="created" trigger="USER"
    8775             before_script="" after_script="">
    88  
     76
    8977  <guard>
    9078  </guard>
     
    9583             new_state="" trigger="USER" before_script=""
    9684             after_script="">
    97  
     85
    9886  <guard>
    9987  </guard>
     
    10391             new_state="opened" trigger="USER"
    10492             before_script="" after_script="">
    105  
     93
    10694  <guard>
    10795   <guard-role>Manager</guard-role>
     
    11098  </guard>
    11199 </transition>
    112  <transition transition_id="publish" title=""
    113              new_state="public" trigger="USER"
    114              before_script="" after_script="">
    115  
    116   <guard>
    117    <guard-role>Manager</guard-role>
    118    <guard-role>SectionManager</guard-role>
    119   </guard>
    120  </transition>
    121100</cps-workflow>
  • WAeUP_SRP/trunk/skins/waeup_student/display_pume_result.py

    r779 r781  
    2626                      layout_mode='create',
    2727                      formaction = "display_pume_result",
    28                       button = "do Search",
     28                      button = "Search",
    2929                      )
    3030if psm == 'invalid':
  • WAeUP_SRP/trunk/skins/waeup_student/display_pume_result_form.pt

    r778 r781  
    1313    </metal:block>
    1414      <metal:block fill-slot="main">
    15         <h3>Display Your Post University Matriculation Examination Result! </h3>
     15        <h3>Display Your Post University Matriculation Examination Results! </h3>
    1616        <br />
    1717        <div tal:replace="structure rendered_main" />
    18           <p>Instructions :</p>
    19           <ul>
    20             <li>Enter your JAMB registration number above and hit search.</li>
    21         </ul>
    2218      </metal:block>
    2319      <metal:block fill-slot="sub">
Note: See TracChangeset for help on using the changeset viewer.