{% extends "layers/layer_base.html" %} {% load i18n %} {% load dialogos_tags %} {% load agon_ratings_tags %} {% load bootstrap_tags %} {% load pagination_tags %} {% load url from future %} {% load base_tags %} {% load guardian_tags %} {% block title %}{{ resource.title|default:resource.typename }} — {{ block.super }}{% endblock %} {% block head %} {% if TWITTER_CARD %} {% include "base/_resourcebase_twittercard.html" %} {% endif %} {% if OPENGRAPH_ENABLED %} {% include "base/_resourcebase_opengraph.html" %} {% endif %} {% if preview == 'geoext' %} {% include "layers/layer_geoext_map.html" %} {% elif preview == 'OL3' %} {% include "layers/layer_ol3_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.is_mosaic %}
{% csrf_token %}  
{% if filter %} {% trans "Active Filter:" %} {{ filter }} {% endif %}
{% autopaginate all_granules.features 10 %} {% for feature in granules.features %} {% endfor %}
{% trans "Bounding Box" %} (minX,minY,maxX,maxY) {% trans "Time" %} {% trans "Actions" %}
{% if feature.properties.time %}{{ feature.properties.time }}{% endif %} Granule Preview Granule Remove
{% paginate %}
{% endif %}
{% if resource.is_mosaic %}
{% trans "Dimension" %} {% trans "Enabled" %} {% trans "Regex" %}
{% trans "TIME" %} {% if resource.has_time %}{% trans "True" %}{% else %}{% trans "False" %}{% endif %} {% if resource.time_regex %}{{ resource.time_regex }}{% else %} {% endif %}
{% endif %} {% 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|default:"" }} {{ attribute.description|default:"" }}{{ 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 %}