{% extends "index.html" %} {% load i18n %} {% block menu %} {% with "apply" as current_category %} {{ block.super }} {% endwith %} {% endblock %} {% block content %}

{% blocktrans %} With this command you can apply all changes you have made and thus deliver new authorized_keys files to the affected hosts. {% endblocktrans %}

{% csrf_token %} {% if not mode %} {% if affected_hosts %}
{% blocktrans %} The following hosts will get new authorized_keys-files: {% endblocktrans %}
{% for apply_line in affected_hosts %} {% endfor %}
{% trans "User on host" %} {% trans "FQDN" %} {% trans "Internal name" %} {% trans "Log comment" %}
{{ apply_line.host.user }} {{ apply_line.host.fqdn }} {{ apply_line.host.name }} {{ apply_line.log.comment }}
{% else %}
{% trans "Nothing to apply." %}
{% endif %} {% elif mode == "applied" %} {% if apply_status == "success" %}
{% blocktrans %} The changes have been applied. Please check the log output: {% endblocktrans %} {% else %}
{% trans "Error applying changes." %} {% endif %}
{{ log_output }}
{% endif %} {% endblock content %}