Changeset 2601
- Timestamp:
- 8 Nov 2007, 22:37:27 (17 years ago)
- Location:
- WAeUP_SRP
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/skins/waeup_student/deactivate_students.py
r2596 r2601 47 47 if student is not None: 48 48 for object in student.objectValues(): 49 if context.portal_workflow.getInfoFor(object,'review_state',None) == "open":49 if context.portal_workflow.getInfoFor(object,'review_state',None) in ('open','created'): 50 50 context.portal_workflow.doActionFor(object,'close') 51 51 context.portal_workflow.doActionFor(student,'deactivate') -
WAeUP_SRP/base/skins/waeup_student/deactivate_students_form.pt
r2571 r2601 10 10 </span> 11 11 <span tal:condition="allowed" tal:omit-tag=""> 12 <h3> Deactivate Students</h3><br /> 13 You are logged in as member <span tal:replace="info/member|nothing" /> 14 <br /><br /> 12 <h3> Deactivate Student Records</h3><br /> 13 15 14 <form action="deactivate_students" method="post" 16 15 enctype="multipart/form-data" class="workflow"> … … 23 22 id="widget__search_string_widget"> 24 23 <div class="label"> 25 <label for="search_string">Student Ids to be removed</label> (space-separated list)24 <label for="search_string">Student Ids to be deactivated</label> (space-separated list) 26 25 </div> 27 26 <div class="field"> -
WAeUP_SRP/base/skins/waeup_student/search_students_form.pt
r2402 r2601 28 28 <nobr><a href="add_student">Add Student Record</a> 29 29 </nobr> 30 <nobr><a href=" remove_students">Remove Student Record(s)</a>30 <nobr><a href="deactivate_students">Deactivate Student Record(s)</a> 31 31 </span> 32 32 </strong> -
WAeUP_SRP/fceokene/waeup_custom/search_students_form.pt
r2533 r2601 24 24 <nobr><a href="add_student">Add Student Record</a> 25 25 </nobr> 26 <nobr><a href=" remove_students">Remove Student Record(s)</a>26 <nobr><a href="deactivate_students">Deactivate Student Record(s)</a> 27 27 </span> 28 28 </strong>
Note: See TracChangeset for help on using the changeset viewer.