Changeset 1952


Ignore:
Timestamp:
23 Jun 2007, 21:44:30 (17 years ago)
Author:
Henrik Bettermann
Message:

members_search.xml: labels in members search form corrected
getPaymentsFolderInfo.py: show requery link only in state cleared_adn_validated

Location:
WAeUP_SRP/trunk
Files:
2 edited

Legend:

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

    r1948 r1952  
    11<?xml version="1.0"?>
    2 <?xml-stylesheet type="text/xsl" href="layout.xsl"?>
    32<object name="members_search" meta_type="CPS Layout">
    43 <property name="layout_create_method"></property>
     
    2120   <element value="givenName"/>
    2221  </property>
    23   <property name="label">label_first_name</property>
    24   <property name="label_edit">label_first_name</property>
     22  <property name="label">Firstname</property>
     23  <property name="label_edit">Firstname</property>
    2524  <property name="description">Member first name</property>
    2625  <property name="is_i18n">True</property>
     26  <property name="readonly_layout_modes"/>
     27  <property name="hidden_layout_modes"/>
     28  <property name="hidden_readonly_layout_modes"/>
     29 </widget>
     30 <widget name="groups" meta_type="MultiSelect Widget">
     31  <property name="title">Groups</property>
     32  <property name="fields">
     33   <element value="groups"/>
     34  </property>
     35  <property name="label">Groups</property>
     36  <property name="label_edit">Groups</property>
     37  <property name="readonly_layout_modes"/>
     38  <property name="hidden_layout_modes"/>
     39  <property name="hidden_readonly_layout_modes"/>
     40  <property name="vocabulary">groups_voc</property>
    2741 </widget>
    2842 <widget name="id" meta_type="String Widget">
     
    3044   <element value="id"/>
    3145  </property>
    32   <property name="label">label_user_name</property>
    33   <property name="label_edit">label_user_name</property>
     46  <property name="label">User name</property>
     47  <property name="label_edit">User name</property>
    3448  <property name="description">Member login</property>
    3549  <property name="is_i18n">True</property>
     50  <property name="readonly_layout_modes"/>
     51  <property name="hidden_layout_modes"/>
     52  <property name="hidden_readonly_layout_modes"/>
    3653 </widget>
    3754 <widget name="sn" meta_type="String Widget">
     
    3956   <element value="sn"/>
    4057  </property>
    41   <property name="label">label_last_name</property>
    42   <property name="label_edit">label_last_name</property>
     58  <property name="label">Lastname</property>
     59  <property name="label_edit">Lastname</property>
    4360  <property name="description">Member last name</property>
    4461  <property name="is_i18n">True</property>
     62  <property name="readonly_layout_modes"/>
     63  <property name="hidden_layout_modes"/>
     64  <property name="hidden_readonly_layout_modes"/>
    4565 </widget>
    46   <widget name="groups" meta_type="MultiSelect Widget">
    47     <property name="title">Groups</property>
    48     <property name="fields">
    49       <element value="groups"/>
    50     </property>
    51     <property name="label">Groups</property>
    52     <property name="label_edit">Groups</property>
    53     <property name="readonly_layout_modes"/>
    54     <property name="hidden_layout_modes"/>
    55     <property name="hidden_readonly_layout_modes"/>
    56     <property name="vocabulary">groups_voc</property>
    57   </widget>
    5866 <table>
    5967  <row>
     
    7280 </table>
    7381</object>
     82
  • WAeUP_SRP/trunk/skins/waeup_epayment/getPaymentsFolderInfo.py

    r1946 r1952  
    7878    row['trans_ref'] = getattr(so_doc,'order_id','')
    7979    if so_doc.type_description.startswith('School Fee'):
    80         if review_state == 'opened' and hasattr(so_doc, 'order_id') and not so_doc.resp_code:
     80        if review_state == 'opened' and info['review_state'] == 'cleared_and_validated' and hasattr(so_doc, 'order_id') and not so_doc.resp_code:
    8181            row['is_requeryable'] = True
    8282            row['callback_url'] = "%s/payments/%s/interswitch_cb" % (student.absolute_url(),
Note: See TracChangeset for help on using the changeset viewer.