{% extends 'base/layout.html' %} {% load i18n %} {% block content %}
Merge Applications
{% csrf_token %} {% for pk in pks %} {% endfor %} {% for app in applications %} {% endfor %} {% for app in applications %} {% endfor %} {% for field in merge_fields %} {% for app in applications %} {% endfor %} {% endfor %} {% comment %} {% for app in applications %} {% endfor %} {% endfor %} {% endcomment %}
Field{{ app.name }}
Primary
{{ field|title }} {% if field == 'name' %}{{ app.name }} {% elif field == 'status' %}{{ app.get_status_display }} {% elif field == 'description' %}{{ app.description }} {% elif field == 'version' %}{{ app.version }} {% elif field == 'url' %}{{ app.url }} {% elif field == 'approval_status' %}{{ app.get_approval_status_display }} {% elif field == 'approval_info' %}{{ app.approval_info }} {% elif field == 'comments' %}{{ app.comments }} {% elif field == 'software' %}{{ app.software }} {% elif field == 'software_version' %}{{ app.software_version }} {% elif field == 'application_types' %}{{ app.application_types }} {% elif field == 'tenant' %}{{ app.tenant }} {% elif field == 'status_date' %}{{ app.status_date }} {% elif field == 'parent_application' %}{{ app.parent_application.name|default:'—' }} {% else %}—{% endif %}
{{ field|title }} {{ app|attr:field }}

Select Primary application and choose which value to use for each field. M2M fields (devices, VMs, clusters, contacts) will be merged from all.

Cancel
{% endblock %}