Ignore:
Timestamp:
9 Dec 2007, 11:03:55 (17 years ago)
Author:
Henrik Bettermann
Message:

make maintenance payment work

rename fields target and subject

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/skins/waeup_layout/layout_student_acco_edit.pt

    r2243 r2891  
    1616  apply request/apply_button|nothing;
    1717  widgets python:context.getRenderedWidgets(layout);
     18  info python: context.getAccommodationInfo();
     19  maintenance_online info/online_payment|nothing;
     20 
     21 
     22 
     23 
    1824  ">
    1925  <form action="" id="editForm" method="post"
     
    4450                     tal:attributes="for cell/widget_input_area_id|nothing;">label</label>:
    4551            </div>
    46             <button type="button" class="tooltipControl"
    47                     tal:condition="widget/help"
    48                     tal:attributes="onclick python:'toggleElementVisibility(\'%s\')' % tooltip_id;"> ? </button>
    4952            </td>
    5053            <td>
     
    5255              <div tal:replace="structure cell/widget_rendered"/>
    5356            </span>
    54             <div class="tooltipArea" style="visibility: hidden;"
    55                  tal:condition="widget/help"
    56                  tal:attributes="id tooltip_id;
    57                  onclick python:'showElement(false, \'%s\')' % tooltip_id;"
    58                  >
    59               <tal:block tal:content="widget/help">This is the help for this field
    60               </tal:block>
    61             </div>
    62             <tal:block condition="err">
    63               <tal:block define="msg python:cpsmcat(err, mapping=err_mapping)">
    64                 <br /><em style="color: red"
    65                           tal:content="msg">err</em>
    66               </tal:block>
    67             </tal:block>
    6857            </td>
    6958          </div>
     
    9180                     tal:attributes="for cell/widget_input_area_id|nothing;">label</label>:
    9281            </div>
    93             <button type="button" class="tooltipControl"
    94                     tal:condition="widget/help"
    95                     tal:attributes="onclick python:'toggleElementVisibility(\'%s\')' % tooltip_id;"> ? </button>
    9682          </td>
    9783          <td>
     
    9985              <div tal:replace="structure cell/widget_rendered"/>
    10086            </span>
    101             <div class="tooltipArea" style="visibility: hidden;"
    102                  tal:condition="widget/help"
    103                  tal:attributes="id tooltip_id;
    104                  onclick python:'showElement(false, \'%s\')' % tooltip_id;"
    105                  >
    106               <tal:block tal:content="widget/help">This is the help for this field
    107               </tal:block>
    108             </div>
    109             <tal:block condition="err">
    110               <tal:block define="msg python:cpsmcat(err, mapping=err_mapping)">
    111                 <br /><em style="color: red"
    112                           tal:content="msg">err</em>
    113               </tal:block>
    114             </tal:block>
    11587          </td>
    11688        </div>
     
    12294         value="Save"
    12395         id="cpsdocument_edit_button"
    124          tal:condition="not:creation" />
    125   <input type="submit" class="standalone" name="apply_admission"
    126          value="apply for admission"
    127          id="cpsdocument_edit_and_view_button"
    128          tal:condition="apply"
    129          tal:attributes="value apply"/>
    130   <input type="submit"
    131          class="standalone"
    132          name="cpsdocument_create_button"
    133          value="apply"
    134          tal:attributes="value options/button"
    135          tal:condition="creation" />
     96         tal:condition="python:not creation and not maintenance_online" />
    13697
    13798</form>
Note: See TracChangeset for help on using the changeset viewer.