Ignore:
Timestamp:
1 Mar 2012, 07:06:44 (13 years ago)
Author:
Henrik Bettermann
Message:

Replace widgets loop in all pagetemplates by the new widgets provider.

Location:
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/certificatemanagepage.pt

    r7736 r7737  
    1212    <table class="form-table">
    1313      <tbody>
    14         <tal:widgets tal:content="structure provider:widgets" />
     14        <tal:widgets content="structure provider:widgets" />
    1515      </tbody>
    1616    </table>
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/configurationmanagepage.pt

    r7705 r7737  
    1313      <table class="form-table">
    1414        <tbody>
    15           <tal:block repeat="widget view/widgets">
    16             <tr>
    17               <td class="fieldname">
    18                   <span tal:condition="widget/required">*
    19                   </span>
    20                   <span tal:content="widget/label">label
    21                   </span>:
    22               </td>
    23               <td>
    24                 <span tal:content="structure widget">
    25                   <input type="text" />
    26                 </span>
    27                 <tal:error tal:condition="widget/error">
    28                   <span tal:replace="structure widget/error">error
    29                   </span>
    30                 </tal:error>
    31                 <tal:hint tal:condition="widget/hint">
    32                   <span tal:content="structure widget/hint">hint
    33                   </span>
    34                 </tal:hint> </td>
    35             </tr>
    36           </tal:block>
     15          <tal:widgets content="structure provider:widgets" />
    3716        </tbody>
    3817      </table>
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/default_waeup_edit_form.pt

    r7684 r7737  
    44  <table class="form-table">
    55    <tbody>
    6       <tal:block repeat="widget view/widgets">
    7         <tr>
    8           <td class="fieldname">
    9             <span tal:condition="widget/required">*</span>
    10             <span tal:content="widget/label">label</span>:
    11           </td>
    12           <td>
    13             <span tal:content="structure widget">
    14               <input type="text" />
    15             </span>
    16             <tal:error tal:condition="widget/error">
    17               <span tal:replace="structure widget/error">error</span>
    18             </tal:error>
    19             <tal:hint tal:condition="widget/hint">
    20               <div class="hint" tal:content="structure widget/hint">hint</div>
    21             </tal:hint>
    22           </td>
    23         </tr>
    24       </tal:block>
     6      <tal:widgets content="structure provider:widgets" />
    257      <tal:files content="structure provider:files" />
    268    </tbody>
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/departmentmanagepage.pt

    r7706 r7737  
    2121      <table class="form-table">
    2222        <tbody>
    23           <tal:block repeat="widget view/widgets">
    24             <tr>
    25               <td class="fieldname">
    26                   <span tal:condition="widget/required">*
    27                   </span>
    28                   <span tal:content="widget/label">label
    29                   </span>:
    30               </td>
    31               <td>
    32                 <span tal:content="structure widget">
    33                   <input type="text" />
    34                 </span>
    35                 <tal:error tal:condition="widget/error">
    36                   <span tal:replace="structure widget/error">error
    37                   </span>
    38                 </tal:error>
    39                 <tal:hint tal:condition="widget/hint">
    40                   <span tal:content="structure widget/hint">hint
    41                   </span>
    42                 </tal:hint> </td>
    43             </tr>
    44           </tal:block>
     23          <tal:widgets content="structure provider:widgets" />
    4524        </tbody>
    4625      </table>
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/facultymanagepage.pt

    r7736 r7737  
    2222      <table class="form-table">
    2323        <tbody>
    24           <tal:widgets tal:content="structure provider:widgets" />
     24          <tal:widgets content="structure provider:widgets" />
    2525        </tbody>
    2626      </table>
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/usereditformpage.pt

    r7736 r7737  
    44  <table class="form-table">
    55    <tbody>
    6       <tal:widgets tal:content="structure provider:widgets" />
     6      <tal:widgets content="structure provider:widgets" />
    77      <tr>
    88        <td i18n:translate="" class="fieldname">Password:</td>
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/widgets.pt

    r7736 r7737  
    1313      </tal:error>
    1414      <tal:hint tal:condition="widget/hint">
    15         <span tal:content="structure widget/hint">HINT</span>
     15        <div class="hint" tal:content="structure widget/hint">HINT</div>
    1616      </tal:hint>
    1717    </td>
Note: See TracChangeset for help on using the changeset viewer.