{% extends 'localcosmos_server/modals/modal_form.html' %} {% load i18n %} {% block action %}{% url 'add_existing_nodes' meta_app.id parent_node.id %}{% endblock %} {% block title %}{% if is_circular %}{% trans 'Circular nodes found' %}{% else %}{% trans 'Add existing node' %}{% endif %}{% endblock %} {% block body %} {% if success is True %} {% else %} {% if is_circular %}
{% trans 'The nodes you tried to add would have resulted in a circular connection.' %}
{% endif %} {% if nodes %}
{% include 'nature_guides/ajax/add_existing_nodes_page.html' %}
{% else %}
{% trans 'Currently you have got no existing entries or groups that could be added.' %}
{% endif %} {% endif %} {% endblock %} {% block footer %} {% if success is True %} {% if circular_children %} {% endif %} {% else %} {% if nodes %} {% include 'localcosmos_server/modals/footers/add_selected.html' %} {% else %} {% endif %} {% endif %} {% endblock %} {% block script %} {% endblock %}