Changeset 9981 for main/waeup.kofa


Ignore:
Timestamp:
22 Feb 2013, 17:49:16 (12 years ago)
Author:
Henrik Bettermann
Message:

Use correct arguments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/students/utils.py

    r9979 r9981  
    468468        return available_beds[0]
    469469
    470     def _admissionText(portal_language):
     470    def _admissionText(self, student, portal_language):
    471471        inst_name = grok.getSite()['configuration'].name
    472472        text = trans(_(
     
    499499
    500500        # Admission text
    501         html = format_html(self._admissionText())
     501        html = format_html(self._admissionText(student, portal_language))
    502502        data.append(Paragraph(html, NOTE_STYLE))
    503503        data.append(Spacer(1, 20))
Note: See TracChangeset for help on using the changeset viewer.