{% load i18n %} {% load geonode_auth %}
{% trans "Abstract:" %} {% if rec.identification.abstract %} {{rec.identification.abstract}} {% else %} {% trans "No abstract is provided for this layer." %} {% endif %}
{% trans "Provided by:" %} {% if rec.contact.name %} {# and rec.attribution.href %} #} {% if rec.contact.onlineresource %} {{ rec.contact.name }} {% else %} {{ rec.contact.name }} {% endif %} {% else %} {% trans "No attribution information is provided for this layer." %} {% endif %}
{% trans "Metadata Links:" %} {% for link in rec.metadata_links %} {{link.1}} {% empty %} {% trans "No metadata URLs are defined for this layer." %} {% endfor %}
{% trans "Keywords:" %} {% for kw in rec.identification.keywords.list %} {{kw}}{% if not forloop.last %}, {% endif %} {% empty %} {% trans "No keywords are listed for this layer." %} {% endfor %}
{% if layer_is_remote %}{% trans "Download:" %} {% for link in extra_links.download %} {{link.1}} {% empty %} {% trans "No download URLs are defined for this layer." %} {% endfor %}
{% if rec.distribution.onlineresource.url %}{% trans "Visit originating site for more information about this layer." %}
{% endif %} {% else %} {% has_obj_perm user layer "maps.view_layer" as can_view %} {% if can_view %}{% trans "Download:" %} {% for link in extra_links.download %} {{link.1}} {% empty %} {% trans "No download URLs are defined for this layer." %} {% endfor %}
{% if rec.distribution.onlineresource.url %}{% trans "Click here for more information about this layer." %}
{% endif %} {% else %}{% trans "You do not have permission to view or download this layer" %}
{% endif %} {% endif %}