Changeset 17458


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.

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

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/CHANGES.txt

    r17412 r17458  
    441.8.2.dev0 (unreleased)
    55=======================
     6
     7* Don't led students selct blocked hostels on `AccommodationManageFormPage`.
    68
    79* Add `ReleaseExpiredAllocationsPage2` which allows to release unpaid beds
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/pages.py

    r17261 r17458  
    501501            return
    502502
    503 
    504503class LogoutPage(KofaPage):
    505504    """A logout page. Calling this page will log the current user out.
     
    516515        self.redirect(self.application_url() + '/index')
    517516        return
    518 
    519517
    520518class LanguageChangePage(KofaPage):
     
    21392137    pnav = 1
    21402138
    2141 
    21422139class FacultiesContainerManageFormPage(KofaEditFormPage):
    21432140    """Manage the basic properties of a `Faculty` instance.
     
    21742171        self.redirect(self.url(self.context))
    21752172        return
    2176 
    21772173
    21782174class FacultyAddFormPage(KofaAddFormPage):
     
    26152611
    26162612class UpdateCourseTicketsView(UtilityView, grok.View):
    2617     """Udate course tickets.
     2613    """Update course tickets.
    26182614    """
    26192615    grok.context(ICourse)
     
    27112707    def delLocalRoles(self, **data):
    27122708        return del_local_roles(self,3,**data)
    2713 
    27142709
    27152710class CertificateCourseAddFormPage(KofaAddFormPage):
  • 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.