{% extends "machines/base.html" %} {% load i18n %} {% load machine_extras %} {% block head_title %}{% if section == 'iptables' %}{{ _('iptables') }}{% endif %}{% if section == 'apacheconfig' %}{{ _('Apache configuration file') }}: {{ obj_current.filename }}{% endif %}{% if section == 'phpconfig' %}{{ _('PHP configuration file') }}: {{ obj_current.filename }}{% endif %}{% if section == 'mysqlconfig' %}{{ _('MySQL configuration file') }}: {{ obj_current.filename }}{% endif %} | {{ machine.hostname }} | {{ block.super }}{% endblock %} {% block content %}

{{ _('Machines') }}

{{ machine.hostname }} {{ machine.sys_ip }}

{% if section == 'iptables' %}

{{ _('iptables') }}

{% endif %} {% if section == 'apacheconfig' %}

{{ _('Apache configuration file') }} {{ obj_current.filename }}

{% endif %} {% if section == 'phpconfig' %}

{{ _('PHP configuration file') }} {{ obj_current.filename }}

{% endif %} {% if section == 'mysqlconfig' %}

{{ _('MySQL configuration file') }} {{ obj_current.filename }}

{% endif %}
{{ _('Differences between revisions') }}
Legends
Colors Links
Added (f)irst change
Changed (n)ext change
Deleted (t)op
{% if compare_with == 'current' %} {{ _('Version') }} #{{ version_current }} {% if older_version %}
{% if section == 'apacheconfig' %} ← {{ _('Older version') }} {% else %} ← {{ _('Older version') }} {% endif %} {% endif %} {% else %} {{ _('Version') }} #{{ version_previous }} {% if older_version %}
{% if section == 'apacheconfig' %} ← {{ _('Older version') }} {% else %} ← {{ _('Older version') }} {% endif %} {% endif %} {% endif %}
{% if compare_with == 'current' %} {{ _('Current') }} {% else %} {{ _('Version') }} #{{ version_current }} {% if newer_version %}
{% if section == 'apacheconfig' %} → {{ _('Newer version') }} {% else %} → {{ _('Newer version') }} {% endif %} {% endif %} {% endif %}
{{ body_previous|diff_table:body_current }} {% endblock %}