{% extends "maps/map_base.html" %} {% load i18n %} {% load dialogos_tags %} {% load agon_ratings_tags %} {% load url from future %} {% load base_tags %} {% load guardian_tags %} {% block title %}{{ resource.title }} — {{ block.super }}{% endblock %} {% block head %} {% include "maps/map_include.html" %} {{ block.super }} {% endblock %} {% block body_class %}maps{% endblock %} {% block body_outer %} {% overall_rating resource "map" as map_rating %}
{% include "_actions.html" %}
{% include "base/resourcebase_info_panel.html" %}
{% include "_comments.html" %}
{% if request.user.is_authenticated %}

{% trans "Rate this Map" %}

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

{% trans 'Average Rating' %}

{% overall_rating resource "map" as map_rating %} {% num_ratings resource as num_votes %}
({{num_votes}})
{% block social_links %} {% if SOCIAL_BUTTONS %} {% include "social_links.html" %} {% endif %} {% endblock %}
{% endblock %} {% block extra_script %} {% if SOCIAL_BUTTONS %}
{% endif %} {% if request.user.is_authenticated %} {% user_rating_js request.user resource "map" %} {% else %} {% overall_rating resource "map" as the_map_rating %} {% endif %} {% include 'rating.html' %} {% include "_permissions_form_js.html" %} {% endblock %}