{% extends "maps/map_base.html" %} {% load geonode_auth %} {% load i18n %} {% load dialogos_tags %} {% load agon_ratings_tags %} {% load url from future %} {% load base_tags %} {% block title %}{{ map.title }} — {{ block.super }}{% endblock %} {% block head %} {% include "maps/map_include.html" %} {{ block.super }} {% endblock %} {% block body_class %}maps{% endblock %} {% block body_outer %} {% overall_rating map "map" as map_rating %}

{{ map.title }}

{% has_obj_perm user map "maps.change_map" as can_edit_map %} {% if can_edit_map %} {% endif %} {% comment %} {% endcomment %}
{% include "base/resourcebase_info_panel.html" with resourcebase=map %}
{% with map as obj %} {% include "_comments.html" %} {% endwith %}
{% if request.user.is_authenticated %}

{% trans "Rate this Map" %}

{% user_rating request.user map "map" as user_map_rating %}
{% endif %}

{% trans 'Average Rating' %}

{% overall_rating map "map" as map_rating %} {% num_ratings map as num_votes %}
({{num_votes}})

{% trans "Share This Map" %}

{% include "_permissions_form.html" %} {% endblock %} {% block extra_script %}
{% if request.user.is_authenticated %} {% user_rating_js request.user map "map" %} {% endif %} {% include "_permissions_form_js.html" %} {% endblock %}