Changeset 14645


Ignore:
Timestamp:
22 Mar 2017, 13:05:09 (8 years ago)
Author:
Henrik Bettermann
Message:

Show course category title.

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

Legend:

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

    r14492 r14645  
    25592559        return course_levels.getTerm(self.context.level).title
    25602560
     2561    @property
     2562    def course_category_title(self):
     2563        return getUtility(IKofaUtils).COURSE_CATEGORY_DICT[
     2564            self.context.course_category]
     2565
    25612566class CertificateCourseManageFormPage(KofaEditFormPage):
    25622567    """Manage the basic properties of a `CertificateCourse` instance.
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/certificatecoursepage.pt

    r14638 r14645  
    2929    <tr>
    3030      <td i18n:translate="">Course Category:</td>
    31       <td tal:content="context/course_category">NONE</td>
     31      <td tal:content="view/course_category_title">NONE</td>
    3232    </tr>
    3333    <tr>
Note: See TracChangeset for help on using the changeset viewer.