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/students/browser_templates
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/students/browser_templates/basemanagepage.pt

    r7735 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">*</span>
    19                 <span tal:content="widget/label">LABEL</span>:
    20               </td>
    21               <td>
    22                 <span tal:content="structure widget">
    23                   <input type="text" />
    24                 </span>
    25                 <tal:error tal:condition="widget/error">
    26                   <span tal:replace="structure widget/error">ERROR</span>
    27                 </tal:error>
    28                 <tal:hint tal:condition="widget/hint">
    29                   <span tal:content="structure widget/hint">HINT</span>
    30                 </tal:hint>
    31               </td>
    32             </tr>
    33           </tal:block>
     15          <tal:widgets content="structure provider:widgets" />
    3416          <tr>
    3517            <td class="fieldname" i18n:translate="">Password:</td>
  • main/waeup.sirp/trunk/src/waeup/sirp/students/browser_templates/changepw.pt

    r7735 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               <span tal:content="structure widget/hint">HINT</span>
    21             </tal:hint>
    22           </td>
    23         </tr>
    24       </tal:block>
     6      <tal:widgets content="structure provider:widgets" />
    257      <tr tal:condition="view/captcha_code">
    268        <td i18n:translate="solve_captcha">
  • main/waeup.sirp/trunk/src/waeup/sirp/students/browser_templates/clearanceeditpage.pt

    r7735 r7737  
    1212      <table class="form-table">
    1313        <tbody>
    14           <tal:block repeat="widget view/widgets">
    15             <tr>
    16               <td class="fieldname">
    17                   <span tal:condition="widget/required">*</span>
    18                   <span tal:content="widget/label">LABEL</span>:
    19               </td>
    20               <td>
    21                 <span tal:content="structure widget">
    22                   <input type="text" />
    23                 </span>
    24                 <tal:error tal:condition="widget/error">
    25                   <span tal:replace="structure widget/error">ERROR</span>
    26                 </tal:error>
    27                 <tal:hint tal:condition="widget/hint">
    28                   <span tal:content="structure widget/hint">HINT</span>
    29                 </tal:hint>
    30               </td>
    31             </tr>
    32           </tal:block>
     14          <tal:widgets content="structure provider:widgets" />
    3315        </tbody>
    3416      </table>
  • main/waeup.sirp/trunk/src/waeup/sirp/students/browser_templates/courseticketmanagepage.pt

    r7735 r7737  
    5252        </td>
    5353      </tr>
    54       <tal:block repeat="widget view/widgets">
    55         <tr>
    56           <td class="fieldname">
    57               <span tal:condition="widget/required">*</span>
    58               <span tal:content="widget/label">LABEL</span>:
    59           </td>
    60           <td>
    61             <span tal:content="structure widget">
    62               <input type="text" />
    63             </span>
    64             <tal:error tal:condition="widget/error">
    65               <span tal:replace="structure widget/error">ERROR</span>
    66             </tal:error>
    67             <tal:hint tal:condition="widget/hint">
    68               <span tal:content="structure widget/hint">HINT</span>
    69             </tal:hint>
    70           </td>
    71         </tr>
    72       </tal:block>
     54      <tal:widgets content="structure provider:widgets" />
    7355    </tbody>
    7456  </table>
  • main/waeup.sirp/trunk/src/waeup/sirp/students/browser_templates/studycoursemanagepage.pt

    r7669 r7737  
    1111      <table class="form-table">
    1212      <tbody>
    13       <tal:block repeat="widget view/widgets">
    14         <tr>
    15           <td class="fieldname">
    16             <span class="required" tal:condition="widget/required">*</span>
    17             <span tal:content="widget/label">label</span>:
    18           </td>
    19           <td>
    20             <span tal:content="structure widget">
    21               <input type="text" />
    22             </span>
    23             <tal:error tal:condition="widget/error">
    24               <span tal:replace="structure widget/error">error</span>
    25             </tal:error>
    26             <tal:hint tal:condition="widget/hint">
    27               <span tal:content="structure widget/hint">hint</span>
    28             </tal:hint>
    29           </td>
    30         </tr>
    31       </tal:block>
     13        <tal:widgets content="structure provider:widgets" />
    3214      </tbody>
    3315      </table>
  • main/waeup.sirp/trunk/src/waeup/sirp/students/browser_templates/studylevelmanagepage.pt

    r7669 r7737  
    1111      <table class="form-table">
    1212      <tbody>
    13       <tal:block repeat="widget view/widgets">
    14         <tr>
    15           <td class="fieldname">
    16             <span class="required" tal:condition="widget/required">*</span>
    17             <span tal:content="widget/label">label</span>:
    18           </td>
    19           <td>
    20             <span tal:content="structure widget">
    21               <input type="text" />
    22             </span>
    23             <tal:error tal:condition="widget/error">
    24               <span tal:replace="structure widget/error">error</span>
    25             </tal:error>
    26             <tal:hint tal:condition="widget/hint">
    27               <span tal:content="structure widget/hint">hint</span>
    28             </tal:hint>
    29           </td>
    30         </tr>
    31       </tal:block>
     13        <tal:widgets content="structure provider:widgets" />
    3214      </tbody>
    3315      </table>
Note: See TracChangeset for help on using the changeset viewer.