Fix bug in details template

This commit is contained in:
Adrià Mercader 2011-03-10 13:53:52 +00:00
parent 2b2a311a03
commit 1768dee13e
1 changed files with 9 additions and 1 deletions

View File

@ -42,7 +42,15 @@
<td>
Last Harvest Status: ${c.source.status.last_harvest_status}<br/>
Last Harvest Errors: <span py:for="errors in c.source.status.last_harvest_errors"></span><br/>
Last Harvest Added or Updated: ${c.source.status.last_harvest_statistics.added}<br/>
Last Harvest Added or Updated:
<py:choose>
<py:when test="'added' in c.source.status.last_harvest_statistics">
${c.source.status.last_harvest_statistics.added}<br/>
</py:when>
<py:otherwise>
None<br/>
</py:otherwise>
</py:choose>
Last Harvest Request: ${c.source.status.last_harvest_request} <br/>
Next Harvest: ${c.source.status.next_harvest}
</td>