Changeset 1474


Ignore:
Timestamp:
23 Feb 2007, 08:47:29 (18 years ago)
Author:
Henrik Bettermann
Message:

fixes

Location:
WAeUP_SRP/trunk
Files:
5 edited

Legend:

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

    r1338 r1474  
    278278              title="Request Transfer" priority="6"
    279279              icon_expr="arrow_switch.png"/>
     280 <action-icon category="student" action_id="change_password"
     281              title="Change Password" priority="7"
     282              icon_expr="actionicon_user_preferences.png"/>             
    280283
    281284 <action-icon category="global" action_id="members"
  • WAeUP_SRP/trunk/profiles/default/actions.xml

    r1427 r1474  
    175175   <permission>View</permission>
    176176  </action>
    177 
     177  <action title="Change Password" action_id="change_password"
     178     category="student" condition_expr="member"
     179     url_expr="string:${portal_url}/change_password" visible="True">
     180   <permission>View</permission>
     181  </action>
    178182  <action title="Home" action_id="students_home" category="student_navigation"
    179183     condition_expr="not:member" url_expr="string:${portal_url}" visible="True">
  • WAeUP_SRP/trunk/profiles/default/layouts/student_change_password.xml

    r1467 r1474  
    2121    <property name="password_widget"></property>
    2222    <property name="check_digit">False</property>
    23     <property name="size_min">6</property>
     23    <property name="size_min">3</property>
     24    <property name="size_max">10</property>
    2425  </widget>
    2526  <widget name="password" meta_type="Password Widget">
     
    3637    <property name="check_digit">False</property>
    3738    <property name="size_min">6</property>
     39    <property name="size_max">10</property>
    3840  </widget>
    3941  <widget name="repeat_password" meta_type="Password Widget">
     
    5153    <property name="check_digit">True</property>
    5254    <property name="size_min">6</property>
     55    <property name="size_max">10</property>
    5356  </widget>
    5457  <table>
  • WAeUP_SRP/trunk/skins/waeup_student/change_password.py

    r1467 r1474  
    1212    def set_trace():
    1313        pass
    14    
     14
    1515current = DateTime.DateTime()
    1616#pr = context.portal_registration
  • WAeUP_SRP/trunk/skins/waeup_student/getAccommodationInfo.py

    r1470 r1474  
    6464info['email']=s_brain.email
    6565info['level']=s_brain.level
    66 info['verdict']=s_brain.verdict
     66info['verdict']=getattr(s_brain,"verdict","N/A")
     67
    6768
    6869students_object = context.portal_url.getPortalObject().campus.students
Note: See TracChangeset for help on using the changeset viewer.