Ignore:
Timestamp:
9 Feb 2018, 19:52:16 (7 years ago)
Author:
Henrik Bettermann
Message:

Do not log error messages.
Improve Student Creation Report.
Adjust tests.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/browser_templates/createallstudentspage.pt

    r14951 r14952  
    11<div i18n:domain="waeup.kofa">
    2   <strong i18n:translate="">Successfully created records:</strong>
    3   <br />
    4   <div  tal:replace="structure view/successful">
    5   </div>
    6   <br />
    7   <strong i18n:translate="">Failed records:</strong>
    8   <br />
    9   <div  tal:repeat="value view/failed">
    10     <a tal:attributes="href python:value[1]" tal:content="python:value[0]"> ID</a>
    11     (<span tal:content="python:value[2]">MSG</span>)
    12   </div>
     2  <tal:success condition="view/successful">
     3    <strong i18n:translate="">Successfully created records:</strong>
     4    <br />
     5    <div  tal:replace="structure view/successful">
     6    </div>
     7    <br />
     8  </tal:success>
     9  <tal:fail condition="view/failed">
     10    <strong i18n:translate="">Failed records:</strong>
     11    <br />
     12    <div  tal:repeat="value view/failed">
     13      <a tal:attributes="href python:value[1]" tal:content="python:value[0]"> ID</a>
     14      (<span tal:content="python:value[2]">MSG</span>)
     15    </div>
     16  </tal:fail>
     17  <tal:norecord i18n:translate=""
     18       condition="python:not view.failed and not view.successful">
     19      No record found.
     20  </tal:norecord>
    1321</div>
Note: See TracChangeset for help on using the changeset viewer.