Changeset 7737


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
Files:
18 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser_templates/applicanteditpage.pt

    r7710 r7737  
    1414  <table class="form-table">
    1515    <tbody>
    16       <tal:block repeat="widget view/widgets">
    17         <tr>
    18           <td class="fieldname">
    19             <span tal:condition="widget/required">*</span>
    20             <span tal:content="widget/label">label</span>:
    21           </td>
    22           <td>
    23             <span tal:content="structure widget">
    24               <input type="text" />
    25             </span>
    26             <tal:error tal:condition="widget/error">
    27               <span tal:replace="structure widget/error">error</span>
    28             </tal:error>
    29             <tal:hint tal:condition="widget/hint">
    30               <span tal:content="structure widget/hint">hint</span>
    31             </tal:hint>
    32           </td>
    33         </tr>
    34       </tal:block>
     16      <tal:widgets content="structure provider:widgets" />
    3517      <tr>
    3618        <td class="fieldname" i18n:translate="">
  • main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser_templates/applicantregister.pt

    r7710 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="">
  • main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser_templates/applicantscontaineraddpage.pt

    r7710 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    </tbody>
    268  </table>
  • main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser_templates/applicantscontainermanagepage.pt

    r7710 r7737  
    2323      <table class="form-table">
    2424        <tbody>
    25           <tal:block repeat="widget view/widgets">
    26             <tr>
    27               <td class="fieldname">
    28                 <span tal:condition="widget/required">*
    29                 </span>
    30                 <span tal:content="widget/label">LABEL
    31                 </span>:
    32               </td>
    33               <td>
    34                 <span tal:content="structure widget">
    35                   <input type="text" />
    36                 </span>
    37                 <tal:error tal:condition="widget/error">
    38                   <span tal:replace="structure widget/error">ERROR
    39                   </span>
    40                 </tal:error>
    41                 <tal:hint tal:condition="widget/hint">
    42                   <span  tal:content="structure widget/hint">HINT
    43                   </span>
    44                 </tal:hint> </td>
    45             </tr>
    46           </tal:block>
     25          <tal:widgets content="structure provider:widgets" />
    4726        </tbody>
    4827      </table>
  • 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>
  • main/waeup.sirp/trunk/src/waeup/sirp/hostels/browser_templates/hostelmanagepage.pt

    r7718 r7737  
    1515      <table class="form-table">
    1616      <tbody>
    17       <tal:block repeat="widget view/widgets">
    18         <tr>
    19           <td class="fieldname">
    20             <span class="required" tal:condition="widget/required">*</span>
    21             <span tal:content="widget/label">LABEL</span>:
    22           </td>
    23           <td>
    24             <span class="widget" 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</span>
    29             </tal:error>
    30             <tal:hint tal:condition="widget/hint">
    31               <span tal:content="structure widget/hint">HINT</span>
    32             </tal:hint>
    33           </td>
    34         </tr>
    35       </tal:block>
     17        <tal:widgets content="structure provider:widgets" />
    3618      </tbody>
    3719      </table>
  • 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.