uccser/cs-field-guide

View on GitHub
csfieldguide/templates/interactives/base/whole-page.html

Summary

Maintainability
Test Coverage
{% extends "base.html" %}

{% load i18n %}
{% load static %}

{% block title %}
  {{ interactive.name }}
{% endblock title %}

{% block body_content %}
  {% if not interactive.translation_available %}
    {% with model=interactive %}
      {% include 'generic/not-available-warning.html' %}
    {% endwith %}
  {% else %}
    {% block interactive_html %}
    {% endblock interactive_html %}

    {% block interactive_css %}
    {% endblock interactive_css %}

    {% block interactive_js %}
    {% endblock interactive_js %}
  {% endif %}
{% endblock body_content %}