Changeset 852 for WAeUP_SRP/trunk/skins


Ignore:
Timestamp:
12 Nov 2006, 21:21:07 (18 years ago)
Author:
Henrik Bettermann
Message:

some modifications according to telephone conversation

Location:
WAeUP_SRP/trunk/skins/waeup_student
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_student/clearance_edit.py

    r851 r852  
    4747    if cpsdocument_edit_button:
    4848        psm = 'Content changed.'
    49         if ds.get('acknow'):
    50             args['final_submit'] = "Finally Submit"
    5149    elif cpsdocument_edit_and_view_button:
    5250        if acknowledge:
    5351            wftool.doActionFor(info['clear'],'close')
    5452            wftool.doActionFor(info['student'],'request_clearance')
    55             return REQUEST.RESPONSE.redirect("%s/student_index" % info['url'])
    56         psm = "You didn't check the Acknowledgementbox"
     53            return REQUEST.RESPONSE.redirect("%s/clearance_view" % info['url'])
     54        psm = "You must tick the Acknowledgement Check Box before submission!"
    5755else:
    5856    psm = "Please correct your errors."
  • WAeUP_SRP/trunk/skins/waeup_student/clearance_edit_form.pt

    r851 r852  
    3939        </div>
    4040      </div>
    41         <table class="layoutDefault" summary="Form layout">
    42           <tr class="even ajaxtd">
    43             <th colspan="5" align="left">I hereby acknowledge by ticking this check box
    44             that if it is discovered at any time that i do not possess any of the
    45             qualifications which i claim to have obtained, i will be expelled from the
    46             University and shall not be re-admitted for the same or any other programme,
    47             even if i have upgraded my previous qualifications or possess additional
    48             qualifications.
    49             </th>
    50           </tr>
    51           <tr>
    52             <div class="" id="acknowledge">
    53               <td valign="top" width="80">
    54                 <div class="label">
    55                   <label>Acknowledgement</label>:
    56                 </div>
    57                 <button type="button" class="tooltipControl"
    58                         onclick="toggleElementVisibility('acknow_help')"> ? </button>
    59               </td>
    60               <td valign="top">
    61                 <span class="field">
    62                   <input type="checkbox" value="True"
    63                          name="acknowledge" />
    64                 </span>
    65                 <div class="tooltipArea"
    66                      style="visibility: hidden;"
    67                      id="acknow_help"
    68                      onclick="showElement(false, 'acknow_help')">
    69                   I hereby acknowledge by ticking this check box that if it is
    70                   discovered at any time that i do not possess any of the qualifications
    71                   which i claim to have obtained, i will be expelled from the University
    72                   and shall not be re-admitted for the same or any other programme, even
    73                   if i have upgraded my previous qualifications or possess additional
    74                   qualifications.
    75                 </div>
    76               </td>
    77             </div>
    78           </tr>
    79         </table>
    80         <input type="submit" class="standalone"
    81                name="cpsdocument_edit_button"
    82                value="Save & Return later"
    83                id="cpsdocument_edit_button"
    84                tal:condition="not:creation" />
    85         <input type="submit" class="standalone"
    86                name="cpsdocument_edit_and_view_button"
    87                value="Save & Submit"
    88                id="cpsdocument_edit_and_view_button"
    89                tal:condition="not:creation" />
     41
     42      <div>
     43
     44          <input type="checkbox" value="True" name="acknowledge" />     &nbsp;&nbsp; 
     45
     46          I hereby acknowledge by ticking this check box
     47          that, if it is discovered at any time that I do not possess any of the
     48          qualifications which I claim to have obtained, I will be expelled from the
     49          University and shall not be re-admitted for the same or any other programme,
     50          even if I have upgraded my previous qualifications or possess additional
     51          qualifications.   
     52                       
     53
     54      </div>
     55
     56      <br />
     57     
     58      <input type="submit" class="standalone"
     59             name="cpsdocument_edit_button"
     60             value="Save & Return later"
     61             id="cpsdocument_edit_button"
     62             tal:condition="not:creation" />
     63      <input type="submit" class="standalone"
     64             name="cpsdocument_edit_and_view_button"
     65             value="Save & Submit"
     66             id="cpsdocument_edit_and_view_button"
     67             tal:condition="not:creation" />
    9068      </form>
    9169      <div id="ajax_psm" style="display:none">
Note: See TracChangeset for help on using the changeset viewer.