Changeset 977 for WAeUP_SRP/trunk


Ignore:
Timestamp:
1 Dec 2006, 15:41:07 (18 years ago)
Author:
Henrik Bettermann
Message:

contact actions modified
Use mail host allowed for anonymous
message texts changed in widgets

Location:
WAeUP_SRP/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/Widgets.py

    r969 r977  
    306306                pume = pumeresults(jamb_reg_no = value)
    307307                if len(pume) < 1:
    308                     err = 'No Student with JAMB-Reg-No %s' % (value)
     308                    err = 'No Student with JAMB RegNo %s.' % (value)
    309309                else:
    310310                    datastructure['pume'] = pume[0]
     
    469469            if datastructure.errors:
    470470                do = 0
    471                 datastructure.setError(widget_id, 'Errors in other data, PIN not checked and used')
     471                datastructure.setError(widget_id, 'Errors in other data, PIN neither checked nor used.')
    472472        while do:
    473473            ok = pins.searchAndSetRecord(pin,ref,prefix)
  • WAeUP_SRP/trunk/profiles/default/actionicons.xml

    r951 r977  
    207207              action_id="import_pin_batches"
    208208              title="Import PIN Batches"
    209               priority="8" icon_expr="actionicon_submit.png"/>             
     209              priority="8" icon_expr="actionicon_submit.png"/>
    210210 <action-icon category="export" action_id="export_faculties"
    211211              title="Export Faculties" priority="1"
     
    241241              priority="3" icon_expr="blank.gif"/>
    242242 <action-icon category="student_navigation"
    243               action_id="support" title="Support"
     243              action_id="support" title="Enquiries"
    244244              priority="4" icon_expr="blank.gif"/>
     245 <action-icon category="student_navigation"
     246              action_id="support_anon" title="Support"
     247              priority="5" icon_expr="blank.gif"/>             
    245248 <action-icon category="student_object" action_id="slip"
    246249              title="Acknowledegement Slip" priority="1"
  • WAeUP_SRP/trunk/profiles/default/actions.xml

    r975 r977  
    131131   <permission>View</permission>
    132132  </action>
     133  <action title="Enquiries" action_id="support_anon" category="student_navigation"
     134     condition_expr="not:member" url_expr="string:${portal_url}/contact_admin_form"
     135     visible="True">
     136   <permission>View</permission>
     137  </action>
    133138  <action title="Enquiries" action_id="support" category="student_navigation"
    134      condition_expr="" url_expr="string:${portal_url}/contact_admin_form"
    135      visible="True">
    136    <permission>View</permission>
    137   </action>
     139     condition_expr="member" url_expr="string:${portal_url}/support_form"
     140     visible="True">
     141   <permission>View</permission>
     142  </action> 
    138143  <action title="Unchecked Items" action_id="unchecked" category="object"
    139144     condition_expr="python:member and 'academics' in object_url"
     
    155160   <permission>View</permission>
    156161  </action>
    157   <action title="Check Admission Details" action_id="check_admission"
     162  <action title="Check Adm. Details" action_id="check_admission"
    158163     category="student" condition_expr="not:member"
    159164     url_expr="string:${portal_url}/check_admission" visible="True">
  • WAeUP_SRP/trunk/profiles/default/rolemap.xml

    r937 r977  
    1818      <role name="SectionReader"/>
    1919      <role name="SectionOfficer"/>
    20     </permission>   
     20    </permission>
    2121    <permission name="Add portal content" acquire="True">
    2222      <role name="SectionManager"/>
     
    6161    <permission name="Use mailhost services" acquire="True">
    6262      <role name="Authenticated"/>
     63      <role name="Anonymous"/>
    6364    </permission>
    6465  </permissions>
Note: See TracChangeset for help on using the changeset viewer.