Changeset 6332
- Timestamp:
- 10 Jun 2011, 12:00:04 (14 years ago)
- Location:
- main/waeup.sirp/trunk/src/waeup/sirp/applicants
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/applicants/applicants.py
r6331 r6332 51 51 52 52 @property 53 def getApplicationState(self):53 def state(self): 54 54 state = IWorkflowState(self).getState() 55 55 return state -
main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser.py
r6327 r6332 507 507 return 'not yet admitted' 508 508 509 #@property510 #def getApplicationState(self):511 # state = IWorkflowState(self.context).getState()512 # return state513 514 509 class ApplicantsManageActionButton(ManageActionButton): 515 510 grok.context(IApplicant) … … 556 551 for transition_object in TRANSITION_OBJECTS 557 552 if transition_object.transition_id in allowed_transitions_ids] 558 #import pdb; pdb.set_trace()559 553 return transitions 560 561 #@property562 #def getApplicationState(self):563 # state = IWorkflowState(self.context).getState()564 # return state565 554 566 555 @grok.action('Save') -
main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser_templates/applicantscontainermanagepage.pt
r6324 r6332 91 91 </td> 92 92 <td> 93 <span tal:replace="appl/ getApplicationState">state</span>93 <span tal:replace="appl/state">state</span> 94 94 </td> 95 95 </tr> -
main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser_templates/form_display.pt
r6324 r6332 3 3 tal:content="view/label">Label</h2> 4 4 5 <h2> ... <span tal:replace="context/ getApplicationState">Application State</span> ... </h2>5 <h2> ... <span tal:replace="context/state">Application State</span> ... </h2> 6 6 7 <div class="workflow" tal:content="structure context/msgs">Application Workflow</div> 7 <div class="workflow" tal:content="structure context/msgs"> 8 Application Workflow 9 </div> 8 10 9 11 <table class="zebra"> -
main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser_templates/form_edit.pt
r6324 r6332 6 6 tal:content="view/label">Label</h2> 7 7 8 <h2> ... <span tal:replace="context/ getApplicationState">Application State</span> ... </h2>8 <h2> ... <span tal:replace="context/state">Application State</span> ... </h2> 9 9 10 10 <div class="workflow" tal:content="structure context/msgs">Application Workflow</div> 11 11 12 12 13 13 <div class="form-status" 14 14 tal:define="status view/status" -
main/waeup.sirp/trunk/src/waeup/sirp/applicants/interfaces.py
r6327 r6332 284 284 """ 285 285 msgs = Attribute('Workflow transitions with date of transition.') 286 getApplicationState = Attribute('Returns the application state of an applicant')286 state = Attribute('Returns the application state of an applicant') 287 287 288 288 reg_no = schema.TextLine(
Note: See TracChangeset for help on using the changeset viewer.