Changeset 2680 for WAeUP_SRP


Ignore:
Timestamp:
16 Nov 2007, 17:45:48 (17 years ago)
Author:
Henrik Bettermann
Message:

provide link to type_description of payment objects

allow Z as student id leading letter

add 2 lgas to local_gov_areas.xml

Location:
WAeUP_SRP
Files:
1 deleted
6 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/WAeUPTool.py

    r2677 r2680  
    276276        ##if letter not in ('ABCDEFGIHKLMNOPQRSTUVWXY'):
    277277        if letter == '?':
    278             letter= r.choice('ABCDEFGHKLMNPQRSTUVWXY')
     278            letter= r.choice('ABCDEFGHKLMNPQRSTUVWXYZ')
    279279        sid = "%c%d" % (letter,r.randint(99999,1000000))
    280280        students = self.portal_url.getPortalObject().campus.students
  • WAeUP_SRP/base/skins/waeup_epayment/getPaymentsFolderInfo.py

    r2480 r2680  
    108108    else:
    109109        row['confirmed'] = 'unsuccessful'
     110    row['is_editable'] = is_so and (row['confirmed'] == 'active')
     111       
    110112    payments.append(row)
    111113
  • WAeUP_SRP/base/skins/waeup_epayment/payments_view.pt

    r2466 r2680  
    5353              </a>             
    5454            </td>
     55            <td>
     56              <a tal:condition="row/is_editable"
     57                href="edit" tal:attributes="href string:${row/url}/external_edit_form"
     58                target="edit"
     59                onclick="javascript:window.open('','edit','width=600, height=700, directories=no, toolbar=no, location=no, menubar=no, scrollbars=yes, status=no, resizable=no, dependent=no')"
     60                >
     61                [edit]
     62              </a>             
     63            </td>           
    5564          </tr>
    5665        </table>
  • WAeUP_SRP/base/skins/waeup_student/student_view.pt

    r2660 r2680  
    129129            <td>
    130130              <a href="edit" tal:attributes="href string:session_results_view">
    131                 <strong>Session Results</strong>
     131                <strong>Session Results 2005/2006</strong>
    132132              </a>             
    133133            </td>
  • WAeUP_SRP/uniben/profiles/default/layouts/payment.xml

    r2180 r2680  
    1515  <property name="label">Amount Authorized</property>
    1616  <property name="label_edit">Amount Authorized</property>
    17   <property name="readonly_layout_modes"/>
     17  <property name="readonly_layout_modes">
     18   <element value="edit"/>
     19  </property>
    1820  <property name="hidden_layout_modes"/>
    1921  <property name="hidden_readonly_layout_modes"/>
     
    3941  <property name="label">Response Amount Approved</property>
    4042  <property name="label_edit">Response Amount Approved</property>
    41   <property name="readonly_layout_modes"/>
     43  <property name="readonly_layout_modes">
     44   <element value="edit"/>
     45  </property>
    4246  <property name="hidden_layout_modes"/>
    4347  <property name="hidden_readonly_layout_modes"/>
     
    5155  <property name="label">Response Reference</property>
    5256  <property name="label_edit">Response Reference</property>
    53   <property name="readonly_layout_modes"/>
     57  <property name="readonly_layout_modes">
     58   <element value="edit"/>
     59  </property>
    5460  <property name="hidden_layout_modes"/>
    5561  <property name="hidden_readonly_layout_modes"/>
     
    6369  <property name="label">Response Card Used</property>
    6470  <property name="label_edit">Response Card Used</property>
    65   <property name="readonly_layout_modes"/>
     71  <property name="readonly_layout_modes">
     72   <element value="edit"/>
     73  </property>
    6674  <property name="hidden_layout_modes"/>
    6775  <property name="hidden_readonly_layout_modes"/>
     
    7583  <property name="label">Response Code</property>
    7684  <property name="label_edit">Response Code</property>
    77   <property name="readonly_layout_modes"/>
     85  <property name="readonly_layout_modes">
     86   <element value="edit"/>
     87  </property>
    7888  <property name="hidden_layout_modes"/>
    7989  <property name="hidden_readonly_layout_modes"/>
     
    8696 <property name="label">Response Description</property>
    8797 <property name="label_edit">Response Description</property>
    88  <property name="readonly_layout_modes"/>
     98  <property name="readonly_layout_modes">
     99   <element value="edit"/>
     100  </property>
    89101 <property name="hidden_layout_modes"/>
    90102 <property name="hidden_readonly_layout_modes"/>
     
    97109  <property name="label">Payment Code</property>
    98110  <property name="label_edit">Payment Code</property>
    99   <property name="readonly_layout_modes"/>
     111  <property name="readonly_layout_modes">
     112   <element value="edit"/>
     113  </property>
    100114  <property name="hidden_layout_modes"/>
    101115  <property name="hidden_readonly_layout_modes"/>
     
    108122  <property name="label">Payment Description</property>
    109123  <property name="label_edit">Payment Description</property>
     124  <property name="display_width">40</property>
     125  <property name="size_max">40</property> 
    110126  <property name="readonly_layout_modes"/>
    111127  <property name="hidden_layout_modes"/>
  • WAeUP_SRP/uniben/profiles/default/vocabularies/local_gov_areas.xml

    r2541 r2680  
    568568    <item key="kwara_oyun" msgid="">Kwara / Oyun</item>
    569569    <item key="kwara_pategi" msgid="">Kwara / Pategi</item>
     570    <item key="kwara_ifelodun" msgid="">Kwara / Ifelodun</item>
     571    <item key="kwara_irepodun" msgid="">Kwara / Irepodun</item>   
    570572    <item key="lagos_agege" msgid="">Lagos / Agege</item>
    571573    <item key="lagos_ajeromi-ifelodun" msgid="">Lagos / Ajeromi-Ifelodun</item>
Note: See TracChangeset for help on using the changeset viewer.