{% extends "layers/layer_base.html" %} {% load i18n %} {% load dialogos_tags %} {% load agon_ratings_tags %} {% load bootstrap_tags %} {% load url from future %} {% load base_tags %} {% load guardian_tags %} {% block title %}{{ resource.title|default:resource.typename }} — {{ block.super }}{% endblock %} {% block head %} {% if preview == 'geoext' %} {% include "layers/layer_geoext_map.html" %} {% else %} {% include "layers/layer_leaflet_map.html" %} {% endif %} {{ block.super }} {% endblock %} {% block body_class %}layers{% endblock %} {% block body_outer %}
{% include "_actions.html" %}
{% include "base/resourcebase_info_panel.html" %}
{% if resource.attribute_set.all %} {% if wps_enabled %} {% endif %} {% for attribute in resource.attributes %} {% if wps_enabled %} {% if attribute.unique_values == "NA" %} {% else %} {% endif %} {% endif %} {% endfor %}
{% trans "Attribute Name" %} {% trans "Label" %} {% trans "Description" %}{% trans "Range" %} {% trans "Average" %} {% trans "Median" %} {% trans "Standard Deviation" %}
{{ attribute }} {{ attribute.attribute_label }} {{ attribute.description }}{{ attribute.unique_values }} {{ attribute.average|floatformat:"2" }} {{ attribute.median|floatformat:"2" }} {{ attribute.stddev|floatformat:"2" }}
{% endif %}
{% block social_links %} {% if SOCIAL_BUTTONS %} {% include "social_links.html" %} {% endif %} {% endblock %}
{% with resource as obj %} {% include "_comments.html" %} {% endwith %}
{% if GEOGIG_ENABLED and resource.link_set.geogig %} {% with "_geogig_layer_detail.html" as geogig_template %}
{% with resource as obj %} {% include geogig_template %} {% endwith %}
{% endwith %} {% endif %}
{% if request.user.is_authenticated %}

{% trans "Rate this layer" %}

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

{% trans 'Average Rating' %}

{% overall_rating resource "layer" as layer_rating %} {% num_ratings resource as num_votes %}
({{num_votes}})
{% if GEONODE_SECURITY_ENABLED %} {% include "_permissions_form.html" %} {% endif %}
{% endblock %} {% block extra_script %} {% if GEOGIG_ENABLED and resource.link_set.geogig %} {% with "_geogig_scripts.html" as geogig_scripts_template %} {% include geogig_scripts_template %} {% endwith %} {% endif %} {% if request.user.is_authenticated %} {% user_rating_js request.user resource "layer" %} {% else %} {% overall_rating resource 'layer' as the_layer_rating %} {% endif %} {% include 'rating.html' %} {% include 'request_download.html' %} {% if GEONODE_SECURITY_ENABLED %} {% include "_permissions_form_js.html" %} {% endif %} {% endblock extra_script %}