{% extends 'base.html' %} {% load crispy_forms_tags %} {% load ui_extras %} {% load static %} {% load humanize %} {% block title %} {{ collection }} {% endblock %} {% block content_header %}

{{ collection.name }}

{{ collection.credential.platform|add:

{{ collection.get_harvest_type_display }}

{% if collection.is_on %}

Collection is active. Turn off to edit.

{% endif %} {% if not collection.is_active %}

Collection is deactivated. Activate to turn on harvesting.

{% endif %}
{% csrf_token %} {% if collection.is_on %}
{% else %}
{% endif %}
{% csrf_token %} {% if collection.is_active %}
{% else %}
{% endif %} Edit Export
{% endblock %} {% block content %}
{% if next_run_time %} {% endif %} {% if seed_warning_message %} {% endif %} {% if credential_used_col and not collection.is_on %} {% endif %} {% if seed_error_message %} {% endif %} {% if not seed_error_message and not seed_warning_message and not collection.is_on and not credential_used_col and collection.is_active%}
Turn on collection to start harvesting.
{% endif %} {% if last_harvest.status == "completed failure" %} {% endif %} {% if last_harvest.infos %}
Information messages reported by last harvest:
    {% for msg in last_harvest.infos %}
  • {{ msg.message }}
  • {% endfor %}
{% endif %} {% if last_harvest.warnings %}
Warning messages reported by last harvest:
    {% for msg in last_harvest.warnings %}
  • {{ msg.message }}
  • {% endfor %}
{% endif %} {% if last_harvest.errors %} {% endif %} {% if stream_stopping %}
Harvest must complete before it can be turned on. This may take several minutes. If the harvest does not complete, go to the harvest's detail page and mark it void.
{% endif %}
{% if collection.description %}

Description: {{ collection.description }}

{% endif %} {% if collection.link %}

Public link: {{ collection.link }}

See the public version for citing this collection.

{% endif %}

Data collected: {{ collection.warcs_count|intcomma }} file{{ collection.warcs_count|pluralize }} ({{ collection.warcs_bytes|filesizeformat }})

{% if collection.stats %}

Stats:

{% endif %}
{% has_user_based_permission collection.credential allow_staff=True as has_perm %}

Credential: {% if has_perm %}{% endif %}{{ collection.credential.name }}{% if has_perm %}{% endif %}{% if not collection.credential.is_active %} (Deleted){% endif %}

{{ collection.harvest_options|json }} {% if collection.schedule_minutes %}

Schedule: {{ collection.get_schedule_minutes_display }}

{% endif %}

Id: {{ collection.collection_id }}

Created: {{ collection.date_added|date }}

End date: {{ collection.end_date|date }}

Sharing: {{ collection.get_visibility_display }}

{% block javascript %} {% endblock %} {% if has_seeds_list %}
{% include "ui/seeds_list_snippet.html" %}
{% include "ui/seeds_list_snippet.html" %}
Add Seed {% if can_add_bulk_seeds %} Bulk Add Seeds {% endif %} {% if can_edit_seeds and collection.is_on %}

Seeds changes will go into effect with next scheduled harvest.

{% endif %}
{% endif %} {% if harvests %}

Harvests ({{ harvest_count|intcomma }})

{% for harvest in harvests %} {% join_stats harvest.stats harvest.status as joined_stats %} {% endfor %}
{% if harvest_count > harvests|length %} {% endif %}
{% endif %}

Change log


{% include "ui/diff_snippet.html" with log_entries=collection.log_entries %}
{% endblock %}