Ignore:
Timestamp:
27 Apr 2011, 07:43:49 (14 years ago)
Author:
Henrik Bettermann
Message:

Implement title_prefix vocabulary. Remove redundant getName method and replace by the longtitle property.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/university/facultycontainer.py

    r5915 r5988  
    2222            del self[key]
    2323
    24     #def getName(self, key):
    25     #    if key in self.keys():
    26     #        fac = self[key]
    27     #        prefix = fac.title_prefix
    28     #        prefix = prefix[0].upper() + prefix[1:]
    29     #        return '%s of %s' % (prefix, fac.title)
    30            
    3124class FacultyContainerFactory(grok.GlobalUtility):
    3225    """A factory for faculty containers.
Note: See TracChangeset for help on using the changeset viewer.