Changeset 382 for WAeUP_SRP


Ignore:
Timestamp:
16 Aug 2006, 22:09:45 (18 years ago)
Author:
Henrik Bettermann
Message:

permissions for faculty import changed

Location:
WAeUP_SRP/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/Academics.py

    r379 r382  
    4343    def Title(self):
    4444        """compose title"""
    45         return "Academics Section"
     45        return "Academic Section"
    4646
    4747    security.declareProtected(ModifyPortalContent,"loadFacultiesFromCSV")###(
     
    307307                dict = {}
    308308            dict['original_code'] = certificate.get('CertCode')
    309             print 
     309            print
    310310            c.getContent().edit(mapping=dict)
    311311        return self.academics.academics_contents()
  • WAeUP_SRP/trunk/Students.py

    r364 r382  
    8080                d['sex'] = student.get('Sex') == 'F'
    8181                d['nationality'] = student.get('Nationality')
    82                 d['state'] = student.get('State') 
    83                 d['lga'] = student.get('LGA') 
     82                d['state'] = student.get('State')
     83                d['lga'] = student.get('LGA')
    8484                d['street'] = student.get('PermanentAddress')
    8585                d['city'] = student.get('PermanentAddressCity')
     
    134134        return self.students.folder_contents()
    135135    ###)
    136    
    137     security.declareProtected(View,"Title")
    138     def Title(self):
    139         """compose title"""
    140         return "Students Section"
     136
     137    security.declareProtected(View,"Title")
     138    def Title(self):
     139        """compose title"""
     140        return "Student Section"
    141141
    142142InitializeClass(StudentsFolder)
     
    274274        """compose title"""
    275275        content = self.getContent()
    276         return "Course Major" 
     276        return "Course Major"
    277277
    278278
  • WAeUP_SRP/trunk/profiles/default/types/AcademicsFolder.xml

    r370 r382  
    5252 <action title="Faculties" action_id="import_faculties" category="import"
    5353    condition_expr="" url_expr="string:${object_url}/loadFacultiesFromCSV"
    54     visible="True"/>
     54    visible="True">
     55  <permission value="Modify portal content"/>
     56 </action>
    5557 <action title="Departments" action_id="import_departments" category="import"
    5658    condition_expr="" url_expr="string:${object_url}/loadDepartmentsFromCSV"
Note: See TracChangeset for help on using the changeset viewer.