{% extends "subjects/view.html" %} {% load static i18n django_bootstrap_breadcrumbs permissions_tags subject_counter %} {% block style %} {{block.super}} {% endblock %} {% block javascript %} {{block.super}} {% endblock %} {% block breadcrumbs %} {% clear_breadcrumbs %} {% breadcrumb 'Home' 'subjects:home' %} {% breadcrumb subject.category 'subjects:cat_view' subject.category.slug %} {% breadcrumb subject 'subjects:view' subject.slug %} {% breadcrumb pdf_file.topic 'subjects:topic_view' subject.slug pdf_file.topic.slug %} {% breadcrumb pdf_file 'pdf_files:view' pdf_file.slug %} {% endblock %} {% block content %} {% resource_permissions request.user pdf_file as has_resource_permissions %} {% if pdf_file.visible %}
{% elif has_resource_permissions %}
{#

{% trans "PDF could not be displayed" %}

#}
{% endblock content %}