diff --git a/logs/templates/logs/detailed_history.html b/logs/templates/logs/detailed_history.html deleted file mode 100644 index 8ffe5d68..00000000 --- a/logs/templates/logs/detailed_history.html +++ /dev/null @@ -1,94 +0,0 @@ -{% extends 'logs/sidebar.html' %} -{% comment %} -Re2o est un logiciel d'administration développé initiallement au rezometz. Il -se veut agnostique au réseau considéré, de manière à être installable en -quelques clics. - -Copyright © 2020 Jean-Romain Garnier - -This program is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License along -with this program; if not, write to the Free Software Foundation, Inc., -51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -{% endcomment %} - -{% load bootstrap3 %} -{% load i18n %} -{% load logs_extra %} - -{% block title %}{% trans "History" %}{% endblock %} - -{% block content %} -
{% trans "Date" %} | -{% trans "Performed by" %} | -{% trans "Edited" %} | -{% trans "Comment" %} | -
---|---|---|---|
{{ event.date }} | -- {% if event.performed_by %} - - {{ event.performed_by }} - - {% else %} - {% trans "Unknown" %} - {% endif %} - | -
- {% for edit in event.edits %}
- {% if edit.1 is None and edit.2 is None %}
- {{ edit.0 }} - {% elif edit.1 is None %} - {{ edit.0 }}: - {{ edit.2 }} - {% else %} - {{ edit.0 }}: - {{ edit.1 }} - ➔ {{ edit.2 }} - {% endif %} - {% endfor %} - |
- {{ event.comment }} | -
{% trans "Date" %} | +{% trans "Performed by" %} | +{% trans "Edited" %} | +{% trans "Comment" %} | +|||
---|---|---|---|---|---|---|
{% trans "Date" %} | -{% trans "Performed by" %} | -{% trans "Comment" %} | +{{ event.date }} | ++ {% if event.performed_by %} + + {{ event.performed_by }} + + {% else %} + {% trans "Unknown" %} + {% endif %} + | +
+ {% for edit in event.edits %}
+ {% if edit.1 is None and edit.2 is None %}
+ {{ edit.0 }} + {% elif edit.1 is None %} + {{ edit.0 }}: + {{ edit.2 }} + {% else %} + {{ edit.0 }}: + {{ edit.1 }} + ➔ {{ edit.2 }} + {% endif %} + {% endfor %} + |
+ {{ event.comment }} |
{{ rev.revision.date_created }} | -{{ rev.revision.user }} | -{{ rev.revision.comment }} | -