{% extends "apps/app_base.html" %} {% load i18n %} {% load staticfiles %} {% load dialogos_tags %} {% load pinax_ratings_tags %} {% load bootstrap_tags %} {% load pagination_tags %} {% load base_tags %} {% load guardian_tags %} {% load client_lib_tags %} {% block title %}{{ resource.title }} — {{ block.super }}{% endblock %} {% block head %} {% if TWITTER_CARD %} {% include "base/_resourcebase_twittercard.html" %} {% endif %} {% if OPENGRAPH_ENABLED %} {% include "base/_resourcebase_opengraph.html" %} {% endif %} {{ block.super }} {% endblock %} {% block body_class %}{% blocktrans %}{{ resource.type }}{% endblocktrans %}{% endblock %} {% block body_outer %} {% overall_rating resource "geoapp" as map_rating %}
{% include "_actions.html" %}
{% include "base/resourcebase_info_panel.html" %}
{% block social_links %} {% if DISPLAY_SOCIAL %} {% include "social_links.html" %} {% endif %} {% endblock %} {% if DISPLAY_COMMENTS %}
{% include "_comments.html" %}
{% endif %} {% if DISPLAY_RATINGS %}
{% if request.user.is_authenticated %}

{% trans "Rate this" %} {{ resource.type }}

{% user_rating request.user resource "geoapp" as user_geoapp_rating %}
{% endif %}

{% trans 'Average Rating' %}

{% overall_rating resource "geoapp" as geoapp_rating %} {% num_ratings resource as num_votes %}
({{num_votes}})
{% endif %} {% if FAVORITE_ENABLED %}
{% include "favorite/_favorite.html" %}
{% endif %}
{% endblock %} {% block extra_script %} {{ block.super }} {% if DISPLAY_SOCIAL %} {% include 'facebook_sdk.html' %} {% endif %} {% if request.user.is_authenticated %} {% user_rating_js request.user resource "geoapp" %} {% else %} {% overall_rating resource "geoapp" as the_map_rating %} {% endif %} {% include 'rating.html' %} {% if GEONODE_SECURITY_ENABLED %} {% include "_permissions_form_js.html" %} {% endif %} {% if FAVORITE_ENABLED %} {% include "favorite/_favorite_js.html" %} {% endif %} {% endblock extra_script %}