{% if c.options['organization'] == None %} {% for row in c.data['table']%} {% endfor %}
Publisher Datasets with broken links Broken links % Broken links
{{h.link_to(row['organization_title'], h.relative_url_for(organization=row['organization_name']))}} {{row['broken_package_count']}} {{row['broken_resource_count']}} {{row.get('broken_resource_percent')}}
{% endif %} {% if c.options['organization'] != None %} {% if c.options['include_sub_organizations'] %} {% endif %} {% for row_dict in c.data['table'] %} {% if c.options['include_sub_organizations']%} {% endif %} {% endfor %}
Dataset NotesPublisherRes URL Status Reason No. of fails First fail Latest fail Last success
{{row_dict['dataset_title']}} {{row_dict['dataset_notes']}}{{row_dict['organization_title']}}{{row_dict['resource_position']}} {{row_dict['resource_url']}} {{row_dict.get('status', 'not recorded')}} {{row_dict.get('reason', 'not recorded')}} {{row_dict.get('failure_count', 'not recorded')}} {{h.render_datetime(row_dict.get('first_failure')) if row_dict.get('first_failure') else 'not recorded'}} {{h.render_datetime(row_dict.get('last_updated')) if row_dict.get('last_updated') else 'not recorded'}} {{h.render_datetime(row_dict.get('last_success')) if row_dict.get('last_success') else 'not recorded'}}
{% endif %}