{# This file is part of Stratagram: https://github.com/shinsterneck/stratagram #} {# Copyright 2026 Shin Sterneck. Licensed under the Apache License, Version 2.0 (see LICENSE). #} {# SPDX-License-Identifier: Apache-2.0 #} {# The Diagram tab of a site or a location (base_template: its page). #} {% extends base_template %} {% load static %} {% block head %} {{ block.super }} {% if editor_css %}{% endif %} {% endblock %} {% block content %}
{% if denied %}
{{ denied }}
{% elif editor_version %}
{% else %}
The diagram editor was not built into this plugin (see build.sh).
{% endif %} {{ stratagram|json_script:"stratagram-config" }} {% endblock %} {% block javascript %} {{ block.super }} {% if editor_version and not denied %} {% endif %} {% endblock %}