Ignore:
Timestamp:
25 Sep 2013, 06:46:53 (11 years ago)
Author:
Henrik Bettermann
Message:

Convert longtitle() into property attribute.

Location:
main/waeup.kofa/trunk/src/waeup/kofa/browser
Files:
3 edited

Legend:

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

    r9818 r10650  
    182182    @property
    183183    def title(self):
    184         return self.context.longtitle()
     184        return self.context.longtitle
    185185
    186186class DepartmentBreadcrumb(FacultyBreadcrumb):
     
    217217    @property
    218218    def title(self):
    219         return self.context.longtitle()
     219        return self.context.longtitle
    220220
    221221def getBreadcrumb(obj, viewname=None):
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/pages.py

    r10649 r10650  
    18651865    @property
    18661866    def label(self):
    1867         return _('Find students in ') + ('%s' % self.context.longtitle())
     1867        return _('Find students in ') + ('%s' % self.context.longtitle)
    18681868
    18691869    def _find_students(self,query=None, searchtype=None, view=None):
     
    23302330    @property
    23312331    def label(self):
    2332         return '%s' % (self.context.longtitle())
     2332        return '%s' % (self.context.longtitle)
    23332333
    23342334    @property
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/certificatecoursepage.pt

    r9320 r10650  
    1818      <td i18n:translate="">Provided by:</td>
    1919      <td>
    20       <span tal:content="python: context.course.__parent__.__parent__.longtitle()">DEPARTMENT</span>
     20      <span tal:content="python: context.course.__parent__.__parent__.longtitle">DEPARTMENT</span>
    2121      <br />
    22       <span tal:content="python: context.course.__parent__.__parent__.__parent__.longtitle()">FACULTY</span>
     22      <span tal:content="python: context.course.__parent__.__parent__.__parent__.longtitle">FACULTY</span>
    2323      </td>
    2424    </tr>
Note: See TracChangeset for help on using the changeset viewer.