{% extends "layers/layer_base.html" %} {% load geonode_auth %} {% load i18n %} {% load dialogos_tags %} {% load agon_ratings_tags %} {% load bootstrap_tags %} {% load url from future %} {% load base_tags %} {% block title %}{{ layer.title|default:layer.typename }} — {{ block.super }}{% endblock %} {% block head %} {% include "layers/layer_map.html" %} {{ block.super }} {% endblock %} {% block body_class %}data{% endblock %} {% block body_outer %}

{{ layer.title|default:layer.typename }}

{% trans "Download Layer" %}
{% trans "Download Metadata" %}
{% has_obj_perm user layer "layers.change_layer" as can_edit_layer %} {% if can_edit_layer %} {% endif %}
{% include "layers/_actions.html" %}
{% include "geonode/resourcebase_info_panel.html" with resourcebase=layer %}
{% if layer.attribute_set.all %} {% for attribute in layer.attribute_set.all %} {% if attribute.unique_values == "NA" %} {% else %} {% endif %} {% endfor %}
{% trans "Attribute Name" %} {% trans "Range" %} {% trans "Average" %} {% trans "Median" %} {% trans "Standard Deviation" %}
{{ attribute }}{{ attribute.unique_values }} {{ attribute.average|floatformat:"2" }} {{ attribute.median|floatformat:"2" }} {{ attribute.stddev|floatformat:"2" }}
{% endif %}

{% trans "Share This Layer" %}

{% with layer as obj %} {% include "_comments.html" %} {% endwith %}
{% if request.user.is_authenticated %}

{% trans "Rate this layer" %}

{% user_rating request.user layer "layer" as user_layer_rating %}
{% endif %}

{% trans 'Average Rating' %}

{% overall_rating layer "layer" as layer_rating %} {% num_ratings layer as num_votes %}
({{num_votes}})
{% if GS_SECURITY_ENABLED %} {% include "_permissions_form.html" %} {% endif %} {% endblock %} {% block extra_script %}
{% if request.user.is_authenticated %} {% user_rating_js request.user layer "layer" %} {% endif %} {% if GS_SECURITY_ENABLED %} {% include "_permissions_form_js.html" %} {% endif %} {% endblock extra_script %}