{% extends 'generic/object.html' %} {% load helpers i18n static %} {% block extra_controls %} {% if object.dxf_file and object.selected_layer %} {% trans "Export as DXF" %} {% endif %} {% if object.dxf_file %} {% trans "Update the Plan" %} {% endif %} {% endblock %} {% block content %}
{% trans "Plan" %}
{% trans "Name" %} {{ object.name }}
{% trans "Site" %} {{ object.site|linkify }}
{% trans "Location" %} {{ object.location|linkify|placeholder }}
{% trans "DXF file" %} {% if object.dxf_file %} {{ object.dxf_file.name }} {% else %} {{ ''|placeholder }} {% endif %}
{% trans "Selected layer" %} {{ object.selected_layer|placeholder }}
{% trans "Zones" %} {{ zones.count }}
{% if object.dxf_file and not object.selected_layer %}

{% trans "Choose a layer from the list to preview its content, then confirm the one that contains the location boundaries." %}

{% trans "Layer selection" %}
{% trans "Layer preview" %}

{% trans "Waiting for a selection…" %}

{% endif %} {% if zones %}
{% blocktrans with layer=object.selected_layer %}Plan ({{ layer }}){% endblocktrans %}
{{ zones_data|json_script:"np-zones-data" }}
{% trans "Associate a location" %}

{% trans "Click a zone on the plan to associate it with a location." %}

{% trans "Properties" %}

{% trans "Click an object placed on the plan to view its properties." %}

{% trans "Position by distance" %}

{% trans "Activate the tool above the plan, then click the device to move." %}

{% trans "Objects to place" %}
{% endif %} {% comment %} ?v=N as a manual cache-buster: static files are served with cache-control: max-age=86400 and without ETag/Last-Modified, so the browser never re-downloads the old version without this. Increment N on every change to plan_editor.js / plan.css. {% endcomment %} {% endblock %}