Changeset 15249 for main/waeup.uniben


Ignore:
Timestamp:
21 Nov 2018, 08:06:54 (6 years ago)
Author:
Henrik Bettermann
Message:

7 days expiration time span in Uniben

Location:
main/waeup.uniben/trunk/src/waeup/uniben
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.uniben/trunk/src/waeup/uniben/hostels/browser.py

    r13324 r15249  
    4141        msg = "'All expired bed space allocations will be annulled. " + \
    4242              "Are you sure? \\n\\n" + \
    43               "Bed space allocation expires four (4) days after accommodation " + \
     43              "Bed space allocation expires four (7) days after accommodation " + \
    4444              "booking if maintenance fee is not paid.'"
    4545        return "return window.confirm(%s);" % msg
     
    5151
    5252    def update(self):
    53         super(CustomReleaseExpiredAllocationsPage, self).update(4)
     53        super(CustomReleaseExpiredAllocationsPage, self).update(7)
    5454        return
  • main/waeup.uniben/trunk/src/waeup/uniben/hostels/tests.py

    r13550 r15249  
    5353        self.browser.open(self.container_path + '/releaseexpired')
    5454        self.assertTrue('No bed released' in self.browser.contents)
    55         delta = timedelta(days=5)   # 4 days expiration time span in Uniben
     55        delta = timedelta(days=8)   # 7 days expiration time span in Uniben
    5656        bedticket.booking_date = datetime.utcnow() - delta
    5757        self.browser.open(self.container_path + '/releaseexpired')
  • main/waeup.uniben/trunk/src/waeup/uniben/students/browser.py

    r15164 r15249  
    606606<br /><br /><br /><br /><br /><font size="14">
    607607Please endeavour to pay your hostel maintenance charge within <br /><br />
    608 4 days of being allocated a space or else you are deemed to have <br /><br />
     6087 days of being allocated a space or else you are deemed to have <br /><br />
    609609voluntarily forfeited it and it goes back into circulation to be <br /><br />
    610610available for booking afresh!</font>
Note: See TracChangeset for help on using the changeset viewer.