Changeset 13540 for main


Ignore:
Timestamp:
14 Dec 2015, 09:09:32 (9 years ago)
Author:
Henrik Bettermann
Message:

Fix viewlet.

File:
1 edited

Legend:

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

    r13538 r13540  
    100100    @property
    101101    def target_url(self):
    102         return
     102        if self.context.state in ('initialized', 'started', 'paid') \
     103            or self.context.special or self.target == 'trans':
     104            return
     105        return self.view.url(self.view.context, self.target)
    103106
    104107
Note: See TracChangeset for help on using the changeset viewer.