{% block primary_content %}
{%- if request.params and c.page.item_count -%} {{ c.page.item_count }} harvest sources{{ _(" found for \"{query}\"").format(query=c.q) if c.q }} {%- elif request.params and c.page.item_count == 0 -%} {{ _('Sorry no harvest sources found for "{query}"').format(query=c.q) }} {%- else -%} {{ _('All harvest sources') }} {%- endif -%}
{% for field in c.fields_grouped %} {{ c.facet_titles.get(field) }}: {% for value in c.fields_grouped[field] %} {%- if c.translated_fields and c.translated_fields.has_key((field,value)) -%} {{ c.translated_fields[(field,value)] }} {%- else -%} {{ value }} {%- endif %} {% endfor %} {% endfor %}
{% if request.params and c.page.item_count == 0 %}

Try another search term, browse the sources below or {{ _('add a new one') }}.

{% endif %}
{% if c.query_error %} {% trans %}

There was an error while searching. Please try again.

{% endtrans %} {% endif %} {{ h.snippet('snippets/source_list.html', sources=c.page.items, show_organization=true) }}
{{ c.page.pager(q=c.q) }}
{% endblock %}