Ignore:
Timestamp:
26 Apr 2012, 13:58:25 (12 years ago)
Author:
Henrik Bettermann
Message:

Roll back r8282. Also in students the registration state is simply called state.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/applicant.py

    r8285 r8286  
    5454
    5555    @property
    56     def app_state(self):
     56    def state(self):
    5757        return IWorkflowState(self).getState()
    5858
    5959    @property
    6060    def translated_state(self):
    61         return application_states_dict[self.app_state]
     61        return application_states_dict[self.state]
    6262
    6363    @property
     
    8484        """
    8585        # Is applicant in the correct state?
    86         if self.app_state != 'admitted':
     86        if self.state != 'admitted':
    8787            return False, "Applicant has not yet been admitted."
    8888        # Does registration number exist?
Note: See TracChangeset for help on using the changeset viewer.