Changeset 1009 for WAeUP_SRP/trunk


Ignore:
Timestamp:
7 Dec 2006, 21:14:03 (18 years ago)
Author:
Henrik Bettermann
Message:

pins search layout modified
part of ticket 64 solved
redirect in logged_in corrected

Location:
WAeUP_SRP/trunk
Files:
5 edited

Legend:

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

    r1003 r1009  
    2424   <element value="search_string"/>
    2525  </property>
    26   <property name="label">complete ids only</property>
    27   <property name="label_edit">complete ids only</property>
     26  <property name="label">Search for used PIN (entire PIN only)</property>
     27  <property name="label_edit">Search for used PIN (entire PIN only)</property>
    2828  <property name="readonly_layout_modes"/>
    2929  <property name="hidden_layout_modes"/>
     
    3232 <table>
    3333  <row>
     34   <cell name="search_string"/>
    3435   <cell name="search_mode"/>
    35    <cell name="search_string"/>
    3636  </row>
    3737 </table>
  • WAeUP_SRP/trunk/profiles/default/vocabularies/exam_types.xml

    r833 r1009  
    88    <item key="" msgid="">None</item>
    99    <item key="ssce" msgid="">SSCE</item>
    10     <item key="wasc" msgid="">WASC</item>
     10    <item key="waec" msgid="">WAEC</item>
    1111    <item key="gce_o_level" msgid="">GCE O' LEVEL</item>
    1212    <item key="tc_ii" msgid="">TC II</item>
  • WAeUP_SRP/trunk/profiles/default/vocabularies/scratch_card_search_mode.xml

    r1002 r1009  
    55 <property name="description"></property>
    66 <property name="acl_write_roles">Manager</property>
    7  <item key="student" msgid="">Student/Jamb Id</item>
    8  <item key="pin" msgid="">Pin</item>
     7 <item key="student" msgid="">Student ID (JAMB Registration No for APP PINs)</item>
     8 <item key="pin" msgid="">PIN</item>
    99</object>
  • WAeUP_SRP/trunk/skins/waeup_custom/logged_in.py

    r1006 r1009  
    4949
    5050if redirect_url.endswith('/logged_out'):
    51     redirect_to_portal = True   
     51    redirect_to_portal = True
    5252else:
    5353    if not is_anon:
     
    113113    #if info['review_state'] == "application_pin_entered":
    114114    if s_review_state == "application_pin_entered":
    115         return response.redirect("%s/application_edit" % student.absolute_url())
     115        return response.redirect("%s/application_edit_form" % student.absolute_url())
    116116    #elif info['review_state'] == "admitted":
    117117    elif s_review_state == "admitted":
     
    119119    #elif info['review_state'] == "clearance_pin_entered":
    120120    elif s_review_state == "clearance_pin_entered":
    121         return response.redirect("%s/clearance_edit" % student.absolute_url())
     121        return response.redirect("%s/clearance_edit_form" % student.absolute_url())
    122122    return response.redirect("%s/student_index" % student.absolute_url())
    123123
  • WAeUP_SRP/trunk/skins/waeup_pins/batch_view.pt

    r1002 r1009  
    2626        <br />
    2727       
    28         <span tal:condition="python:member.id in ('admin','joachim')">       
    29         <h3>Unused</h3>
    30         <table>
    31           <tr tal:repeat="pin python: info['unused'][:2]">
    32             <td width="50px"> <span tal:content="pin/serial" />: </td>
    33             <td tal:content="pin/pin" />
    34           </tr>
    35         </table>
    36         </span>
     28       
    3729        <span tal:replace="structure rendered" />
    3830
    39         <h3>Results</h3>
    4031        <table>
    4132          <tr tal:repeat="pin info/used">
     
    5041          </tr>
    5142        </table>
     43
     44
     45        <br />
     46
     47        <span tal:condition="python:member.id in ('admin','joachim')">       
     48        ---top secret---
     49        <table>
     50          <tr tal:repeat="pin python: info['unused'][:2]">
     51            <td width="50px"> <span tal:content="pin/serial" />: </td>
     52            <td tal:content="pin/pin" />
     53          </tr>
     54        </table>
     55        ---top secret---
     56        </span>       
     57       
     58       
    5259      </span>
    5360    </metal:main>
Note: See TracChangeset for help on using the changeset viewer.