Ignore:
Timestamp:
27 Jun 2023, 09:35:46 (18 months ago)
Author:
Henrik Bettermann
Message:

Don't led students selct blocked hostels on AccommodationManageFormPage.

Remove empty lines.

File:
1 edited

Legend:

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

    r17335 r17458  
    857857            omit_fields=self.omit_fields)
    858858
    859 
    860859class ExportPDFClearanceSlip(grok.View):
    861860    """Deliver a PDF slip of the context.
     
    10841083            '/contactstudent?%s' % urlencode(args))
    10851084        return
    1086 
    10871085
    10881086class StudentPersonalDisplayFormPage(KofaDisplayFormPage):
     
    25892587        yield(dict(name='no', title=_('No favoured hostel'), selected=selected))
    25902588        for val in grok.getSite()['hostels'].values():
     2589            if val.special_handling == 'blocked':
     2590                continue
    25912591            selected = ''
    25922592            if val.hostel_id == self.context.desired_hostel:
Note: See TracChangeset for help on using the changeset viewer.