Ignore:
Timestamp:
11 Jun 2011, 05:37:42 (14 years ago)
Author:
Henrik Bettermann
Message:

Adjust form status summary throughout the portal. Do not display errors in status summary. These errors can be found the form too.

Location:
main/waeup.sirp/trunk/src/waeup/sirp
Files:
8 edited

Legend:

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

    r6107 r6344  
    99    tal:define="status view/status"
    1010    tal:condition="status">
    11 
    12     <div i18n:translate="" tal:content="view/status">
     11    Form Status:
     12    <span i18n:translate="" tal:content="view/status">
    1313      Form status summary
    14     </div>
    15 
    16     <ul class="errors" tal:condition="view/errors">
    17       <li tal:repeat="error view/error_views">
    18          <span tal:replace="structure error">Error Type</span>
    19       </li>
    20     </ul>
     14    </span>
    2115  </div>
    2216
  • main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser_templates/applicantscontainermanagepage.pt

    r6332 r6344  
    22      class="edit-form" enctype="multipart/form-data">
    33  <h2 i18n:translate="" tal:condition="view/label" tal:content="view/label">Label</h2>
    4   <div class="form-status" tal:define="status view/status" tal:condition="status">
    5     <div i18n:translate="" tal:content="view/status"> Form status summary
    6     </div>
    7     <ul class="errors" tal:condition="view/errors">
    8       <li tal:repeat="error view/error_views">
    9         <span tal:replace="structure error">Error Type
    10         </span>
    11       </li>
    12     </ul>
     4  <div class="form-status"
     5    tal:define="status view/status"
     6    tal:condition="status">
     7    Form Status:
     8    <span i18n:translate="" tal:content="view/status">
     9      Form status summary
     10    </span>
    1311  </div>
    1412  <div id="tabs">
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/certificatemanagepage.pt

    r6025 r6344  
    44
    55<div class="form-status"
    6 tal:define="status view/status"
    7 tal:condition="status">
    8 
    9 <div i18n:translate="" tal:content="view/status">
    10   Form status summary
     6    tal:define="status view/status"
     7    tal:condition="status">
     8    Form Status:
     9    <span i18n:translate="" tal:content="view/status">
     10      Form status summary
     11    </span>
    1112</div>
    12 
    13 <ul class="errors" tal:condition="view/errors">
    14   <li tal:repeat="error view/error_views">
    15      <span tal:replace="structure error">Error Type</span>
    16   </li>
    17 </ul>
    18 </div>
    19 
    2013
    2114<form action="." tal:attributes="action request/URL" method="POST"
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/certificatepage.pt

    r6024 r6344  
    77  <tal:block repeat="widget view/widgets">
    88    <tr>
    9       <td tal:define="hint widget/hint">
    10         <label tal:condition="python:hint"
    11                tal:attributes="for widget/name">
     9      <td>
     10        <label tal:attributes="for widget/name">
    1211          <span i18n:translate=""
    13                          tal:content="widget/label">label</span>
    14         </label>
    15         <label tal:condition="python:not hint"
    16                tal:attributes="for widget/name">
    17           <span i18n:translate=""
    18                          tal:content="widget/label">label</span>
     12                         tal:content="widget/label">label</span>:
    1913        </label>
    2014      </td>
     
    2216        <div class="widget" tal:content="structure widget">
    2317          <input type="text" />
    24         </div>
    25         <div class="error" tal:condition="widget/error">
    26           <span tal:replace="structure widget/error">error</span>
    2718        </div>
    2819      </td>
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/default_waeup_edit_form.pt

    r6131 r6344  
    99    tal:define="status view/status"
    1010    tal:condition="status">
    11 
    12     <div i18n:translate="" tal:content="view/status">
     11    Form Status:
     12    <span i18n:translate="" tal:content="view/status">
    1313      Form status summary
    14     </div>
    15 
    16     <ul class="errors" tal:condition="view/errors">
    17       <li tal:repeat="error view/error_views">
    18          <span tal:replace="structure error">Error Type</span>
    19       </li>
    20     </ul>
     14    </span>
    2115  </div>
    2216
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/departmentmanagepage.pt

    r6176 r6344  
    11<h2 i18n:translate="" tal:condition="view/label" tal:content="view/label">Label</h2>
    2 <div class="form-status" tal:define="status view/status" tal:condition="status">
    3     <div i18n:translate="" tal:content="view/status"> Form status summary
    4     </div>
    5     <ul class="errors" tal:condition="view/errors">
    6         <li tal:repeat="error view/error_views">
    7             <span tal:replace="structure error">Error Type
    8             </span>
    9         </li>
    10     </ul>
     2<div class="form-status"
     3    tal:define="status view/status"
     4    tal:condition="status">
     5    Form Status:
     6    <span i18n:translate="" tal:content="view/status">
     7      Form status summary
     8    </span>
    119</div>
    1210<form action="." tal:attributes="action request/URL" method="POST" class="edit-form" enctype="multipart/form-data">
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/facultycontainermanagepage.pt

    r6177 r6344  
    44
    55<div class="form-status"
    6      tal:define="status view/status"
    7      tal:condition="status">
    8 
    9   <div i18n:translate="" tal:content="view/status">
    10     Form status summary
    11   </div>
    12 
    13   <ul class="errors" tal:condition="view/errors">
    14     <li tal:repeat="error view/error_views">
    15       <span tal:replace="structure error">Error Type</span>
    16     </li>
    17   </ul>
     6    tal:define="status view/status"
     7    tal:condition="status">
     8    Form Status:
     9    <span i18n:translate="" tal:content="view/status">
     10      Form status summary
     11    </span>
    1812</div>
    1913
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/facultymanagepage.pt

    r6175 r6344  
    11<h2 i18n:translate="" tal:condition="view/label" tal:content="view/label">Label</h2>
    2 <div class="form-status" tal:define="status view/status" tal:condition="status">
    3     <div i18n:translate="" tal:content="view/status"> Form status summary
    4     </div>
    5     <ul class="errors" tal:condition="view/errors">
    6         <li tal:repeat="error view/error_views">
    7             <span tal:replace="structure error">Error Type
    8             </span> </li>
    9     </ul>
     2<div class="form-status"
     3    tal:define="status view/status"
     4    tal:condition="status">
     5    Form Status:
     6    <span i18n:translate="" tal:content="view/status">
     7      Form status summary
     8    </span>
    109</div>
    1110<form action="." tal:attributes="action request/URL" method="POST" class="edit-form" enctype="multipart/form-data">
Note: See TracChangeset for help on using the changeset viewer.