Changeset 2601


Ignore:
Timestamp:
8 Nov 2007, 22:37:27 (17 years ago)
Author:
Henrik Bettermann
Message:

close also objects in state created

Location:
WAeUP_SRP
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/skins/waeup_student/deactivate_students.py

    r2596 r2601  
    4747            if student is not None:
    4848                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'):
    5050                        context.portal_workflow.doActionFor(object,'close')
    5151                context.portal_workflow.doActionFor(student,'deactivate')
  • WAeUP_SRP/base/skins/waeup_student/deactivate_students_form.pt

    r2571 r2601  
    1010    </span>
    1111    <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
    1514      <form action="deactivate_students" method="post"
    1615            enctype="multipart/form-data" class="workflow">
     
    2322                       id="widget__search_string_widget">
    2423                    <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)
    2625                    </div>
    2726                    <div class="field">
  • WAeUP_SRP/base/skins/waeup_student/search_students_form.pt

    r2402 r2601  
    2828          <nobr><a href="add_student">Add Student Record</a>       
    2929          &nbsp;&nbsp;&nbsp;&nbsp;</nobr>
    30           <nobr><a href="remove_students">Remove Student Record(s)</a>           
     30          <nobr><a href="deactivate_students">Deactivate Student Record(s)</a>           
    3131      </span>
    3232      </strong>
  • WAeUP_SRP/fceokene/waeup_custom/search_students_form.pt

    r2533 r2601  
    2424          <nobr><a href="add_student">Add Student Record</a>       
    2525          &nbsp;&nbsp;&nbsp;&nbsp;</nobr>
    26           <nobr><a href="remove_students">Remove Student Record(s)</a>          
     26          <nobr><a href="deactivate_students">Deactivate Student Record(s)</a>       
    2727      </span>
    2828      </strong>
Note: See TracChangeset for help on using the changeset viewer.