Changeset 13507 for main/waeup.kwarapoly


Ignore:
Timestamp:
27 Nov 2015, 05:02:57 (9 years ago)
Author:
Henrik Bettermann
Message:

Just return an error message.

File:
1 edited

Legend:

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

    r13503 r13507  
    202202                    amount = academic_session.maint_fee
    203203            else:
    204                 portal_language = getUtility(IKofaUtils).PORTAL_LANGUAGE
    205                 p_item = trans(_('No bed allocated.'), portal_language)
     204                return _(u'No bed allocated.'), None
    206205        elif category == 'clearance':
    207206            amount = academic_session.clearance_fee
Note: See TracChangeset for help on using the changeset viewer.