{% extends "manage/base.html" %} {% load i18n base_tags breadcrumbs generic_delete content_delete pagination_tags %} {% block breadcrumbs %} {% breadcrumbs "Collection groups:../../../" collection.collectiongroup collection %} {% endblock %} {% block extrahead %} {% endblock %} {% block content %} {% with collection.collectiongroup as collectiongroup %}
{{ collection.repr_field|default_if_none:"no definido" }}{% trans "Change" %}
{% if collection.is_publishable %}
{% trans "This collection is ready to use" %}
{% else %}
{% trans "This collection is NOT ready to use" %}
{% endif %}
({% blocktrans %}go to publishing steps tab for more details{% endblocktrans %})
{% trans "Name" %} | {% trans "Slug" %} | {% trans "Field type" %} | {% trans "Is matchup" %} | {% for field in collection.fields.all %}
---|---|---|---|
{{ field }} | {{ field.slug }} | {{ field.get_field_type_display }} | {{ field.is_matchup|yesno:"sí,no" }} |
{% blocktrans with items_parsed.count as items_number %} {{ items_number }} extracted elements{% endblocktrans %}
{% autopaginate items_parsed %} {% if items_parsed %}{% blocktrans with items_parsed.count as items_number %} {{ items_number }} invalid elements{% endblocktrans %}
{% autopaginate items_parsed %} {% if items_parsed %}{% trans "There is no crawler collection mapped yet" %}
{% trans "You can not map a collection without fields. Please edit this collection and add some fields to it." %}
{% else %} {% with collection.crawler_collection as crawler_collection %} {% if crawler_collection %} {% head "Crawling information" %}{% trans "P. Layer" %} | {% trans "Scraping tool" %} | {% for field in collection.fields.all %}
---|---|
{{ field.slug }} | {{ field.mapped_field }}{% if field.custom_format %} ({{ field.custom_format }}){% endif %} |
{{ crawler_collection.schema|json_format }}{% else %}
{% trans "There is no crawler collection mapped yet" %}
{% endif %} {% endwith %} {% endif %}{% if collection.is_well_defined %} {% trans "The collection is properly defined." %} {% else %} {% trans "The collection is not properly defined. Maybe left:" %}
{% if collection.first_crawl_done %} {% trans "The first crawl has been done" %} {% else %} {% trans "There is no crawl done for this collection" %} {% endif %}
{% if collection.crawling_checked %} {% trans "The crawl was checked as correct" %} {% else %} {% url collection_source collection.slug as url_result %} {% blocktrans %} The first crawl has not been checked yet. To check it take a look to the result XML and see if everything is correct. {% endblocktrans %} {% endif %}