Changeset 11582 for main


Ignore:
Timestamp:
4 Apr 2014, 08:39:16 (11 years ago)
Author:
Henrik Bettermann
Message:

Show correct flash message color after payment.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.aaue/trunk/src/waeup/aaue/etranzact/browser.py

    r11572 r11582  
    298298            self.flash(msg)
    299299            return
    300         msg, log = self.context.doAfterStudentPayment()
     300        flashtype, msg, log = self.context.doAfterStudentPayment()
    301301        if log is not None:
    302302            student.writeLogMessage(self, log)
    303         self.flash(msg)
     303        self.flash(msg, type=flashtype)
    304304        return
    305305
     
    326326            self.flash(msg)
    327327            return
    328         msg, log = self.context.doAfterApplicantPayment()
     328        flashtype, msg, log = self.context.doAfterApplicantPayment()
    329329        if log is not None:
    330330            applicant.writeLogMessage(self, log)
    331         self.flash(msg)
     331        self.flash(msg, type=flashtype)
    332332        return
    333333
Note: See TracChangeset for help on using the changeset viewer.