{% extends "mapentity/mapentity_confirm_delete.html" %}
{% load static i18n %}

{% block mainpanel %}
{{ block.super }}

<div class="div-center">
    <div class="panel-heading">{% trans 'Different topologies are linked with this path' %} :</div>

    {% for model, topologies in topologies_by_model.iteritems %}

        <h4>{{ model }} :</h4>
        <ul>
            {% for topology in topologies %}
                <li><a href="{{ topology.url }}">{{ topology.name }}</a></li>
            {% endfor %}
        </ul>

    {% endfor %}
</div>

{% endblock mainpanel %}

{% extends "mapentity/mapentity_confirm_delete.html" %}
{% load static i18n %}

{% block mainpanel %}
{{ block.super }}

<div class="div-center">
    {% if topologies_by_model|length %}
        <div class="panel-heading">{% trans 'Different topologies are linked with this path' %} :</div>
    {% endif %}
    {% for model, topologies in topologies_by_model.iteritems %}

        <h4>{{ model }} :</h4>
        <ul>
            {% for topology in topologies %}
                <li><a href="{{ topology.url }}">{{ topology.name }}</a></li>
            {% endfor %}
        </ul>

    {% endfor %}
</div>

{% endblock mainpanel %}

Remove message topologies no topologies linked when delete path
Remove message topologies no topologies linked when delete path
