Changeset 5864 for main


Ignore:
Timestamp:
13 Mar 2011, 08:15:01 (14 years ago)
Author:
Henrik Bettermann
Message:

How title in breadcrumbs if available.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/breadcrumbs.py

    r5394 r5864  
    3434        if self._title is not None:
    3535            return self._title
    36         if hasattr(self.context, 'name'):
    37             return self.context.name
    3836        if hasattr(self.context, 'title'):
    3937            return self.context.title
     38        if hasattr(self.context, 'name'):
     39            return self.context.name           
    4040        return None
    4141
Note: See TracChangeset for help on using the changeset viewer.