Update template with new harvest source status

This commit is contained in:
amercader 2013-01-22 16:37:31 +00:00
parent 9ba6e8f3b3
commit 6c861afe39
1 changed files with 2 additions and 2 deletions

View File

@ -32,8 +32,8 @@ Example:
<!-- TODO: nicer -->
<div>{{ source.url }}</div>
<div><span>Type: {{ source_type }}</span><span>Total datasets: {{ source.status.overall_statistics.added }}</span></div>
<div style="color:#EB7C91"><span>Last harvest: {{ source.status.last_harvest_request }}</span> <span>Next harvest: {{ source.status.next_harvest }}</span></div>
<div><span>Type: {{ source_type }}</span><span>Total datasets: {{ source.status.total_datasets }}</span></div>
<div style="color:#EB7C91"><span>Last harvest: {{ source.status.last_job.gather_finished }}</span> <span>Next harvest: {{ source.status.next_job }}</span></div>
<a style="color:#EB7C91" href="{{ h.url_for('harvesting_job_create', id=source.id) }}">Refresh</a>
<a style="color:#EB7C91" href="{{ h.url_for('{0}_edit'.format(source.type), id=source.name) }}">Edit</a>