1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml">
6 <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
10 <body i18n:domain="plinn">
12 <div metal:define-macro="default_workflow"
13 tal:define="review_history python: wtool.getInfoFor(here, 'review_history', default=None)" >
14 <table cellspacing="0" class="listing" tal:condition="review_history">
16 <th i18n:translate="">Date</th>
17 <th i18n:translate="">Actor</th>
18 <th i18n:translate="">Action</th>
19 <th i18n:translate="">Comments</th>
20 <th i18n:translate="">Email sent to</th>
22 <div tal:repeat="item python:review_history[::-1]" tal:omit-tag="">
23 <tr tal:define="oddrow repeat/item/odd" tal:attributes="class python:test(oddrow, 'even', 'odd')"
24 tal:condition="item/action">
25 <td tal:content="python:item['time'].strftime(locale_date_fmt)">time</td>
26 <td tal:content="python:mtool.getMemberFullNameById(item['actor'], nameBefore=0)">actor</td>
27 <td tal:content="python:item['action'].capitalize()" i18n:translate=""></td>
28 <td tal:define="comments item/comments"><span tal:replace="comments" /><em tal:condition="not:comments" i18n:translate="">(no comments)</em></td>
29 <td tal:define="email_sent python:item.get('email_sent', [])">
30 <span tal:repeat="e email_sent">
31 <span tal:content="python:mtool.getMemberFullNameById(e, nameBefore=0)">recipient</span><br />
33 <em tal:condition="not:email_sent" i18n:translate="">(no email sent)</em>
38 <em i18n:translate="" i18n:domain="cmf_default" tal:condition="not:review_history">This item has not had any status changes.</em>