Changeset 4497 for waeup/branches


Ignore:
Timestamp:
31 Jul 2009, 09:54:32 (15 years ago)
Author:
uli
Message:

In departments table viewlet check for request to delete certificates
and perform the action.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • waeup/branches/ulif-rewrite/src/waeup/university/department.py

    r4495 r4497  
    8080            code = self.request.form['code']
    8181            del self.context.courses[code]
     82        if 'delcert' in self.request.form:
     83            code = self.request.form['code']
     84            del self.context.certificates[code]
    8285        self.tables = ITableProvider(self.context).getTables(view=self.view)
    8386        self.coursetable = self.tables[0]
Note: See TracChangeset for help on using the changeset viewer.