{% extends "app_manager/appinstance_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 }} — {{ 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 %}Apps{% endblock %} {% block body_outer %}
{% if resource.thumbnail_url != "" and resource.thumbnail_url != None %} {% else %} {% endif %}
{% if "download_resourcebase" in perms_list %} {% endif %}
{% include "_actions.html" %}
{% include "base/resourcebase_info_panel.html" %} {% block social_links %} {% include "social_links.html" %} {% endblock %}
{% include "_comments.html" %}
{% if request.user.is_authenticated %}

{% trans "Rate this document" %}

{% user_rating request.user resource "document" as user_document_rating %}
{% endif %}

{% trans 'Average Rating' %}

{% overall_rating resource "document" as document_rating %} {% num_ratings resource as num_votes %}
({{num_votes}})
{% if EXIF_ENABLED and exif_data %} {% with "exif/_exif_document_detail.html" as exif_template %} {% include exif_template %} {% endwith %} {% endif %}
{% endblock %} {% block extra_script %} {% if SOCIAL_BUTTONS %}
{% endif %} {% if request.user.is_authenticated %} {% user_rating_js request.user resource "appinstance" %} {% else %} {% overall_rating resource "appinstance" as the_doc_rating %} {% endif %} {% include 'rating.html' %} {% include "_permissions_form_js.html" %} {% endblock extra_script %}