Merge branch 'release-v2.0' of github.com:okfn/ckanext-harvest into release-v2.0
This commit is contained in:
commit
a76140650d
|
@ -183,7 +183,6 @@ class ViewController(BaseController):
|
|||
try:
|
||||
context = {'model':model, 'user':c.user}
|
||||
c.source = get_action('harvest_source_show')(context, {'id':id})
|
||||
|
||||
c.page = Page(
|
||||
collection=c.source['status']['packages'],
|
||||
page=request.params.get('page', 1),
|
||||
|
|
|
@ -108,7 +108,7 @@
|
|||
<ul>
|
||||
{% for error in c.source.status.last_harvest_errors.object %}
|
||||
<li>
|
||||
<div>GUID <a href="${g.site_url}/harvest/object/${error.object_id}">${error.object_guid}</a></div>
|
||||
<div>GUID <a href="{{g.site_url}}/harvest/object/{{error.object_id}}">{{error.object_guid}}</a></div>
|
||||
{% set lines = error['message'].split('\n') %}
|
||||
{% for line in lines %}
|
||||
<div>{{ line }}</div>
|
||||
|
|
Loading…
Reference in New Issue