{% extends "services/services_base.html" %} {% load i18n %} {% load guardian_tags %} {% block body %}

{{service.title|default:service.name}}

{% trans "Type" %}: {{service.service_type}}

{% trans "URL" %}: {{service.base_url}}

{% trans "Abstract" %}: {{service.abstract}}

{% trans "Keywords" %}: {{ service.keywords.all|join:", " }}

{% trans "Contact" %}: {{ service.owner }}

{% autoescape off %}

{% trans "Service Resources" %} {{ total_resources }}

{% if service.harvester %} {% with service.harvester.latest_harvesting_session.get_progress_percentage as harvesting_progress %} {% if harvesting_progress >= 0 and harvesting_progress < 100.0 %}

{% trans "Resource harvesting in progress..." %}

{{ harvesting_progress }}%

{% endif %} {% endwith %} {% endif %} {% if total_resources == 0 %}

{% trans "No resources have been imported yet." %}

{% else %}
{% for dataset in datasets %} {% endfor %}
{% trans "Title" %} {% trans "Description" %}
{{dataset.title|striptags}}
{{dataset.abstract|striptags}}
{% endif %} {% if resources.paginator.num_pages > 1 %}
{% endif %} {% endautoescape %}
{% endblock %} {% block sidebar %} {% get_obj_perms request.user for service as "resource_perms" %} {% if can_add_resorces or "add_resourcebase" in resource_perms or "change_resourcebase_metadata" in resource_perms or "change_service_permissions" in resource_perms %} {% endif %} {% endblock %} {% block extra_script %} {{ block.super }} {% endblock extra_script %}