diff --git a/build/generic/view/history/view/main.twig b/build/generic/view/history/view/main.twig index 7676f76..4d60719 100644 --- a/build/generic/view/history/view/main.twig +++ b/build/generic/view/history/view/main.twig @@ -1,44 +1,70 @@ - +{% block search_bar %} {% endblock %} +{% block history_list %} -{% for entry in core.get_history() %} + {% for entry in core.get_history() %} - {% if loop.index == 1 %} + {% block header %} -
- Machine - Dernière utilisation - Utilisateur - Action - Historique détaillé -
+ {% if loop.index == 1 %} - {% endif %} +
+ Machine + Dernière utilisation + Utilisateur + Action + Historique détaillé +
-
+ {% endif %} - #{{ entry.machine_name }} + {% endblock %} - - {{ core.ts_format(entry.timestamp) }} - Il y a {{ core.ts_relative(entry.timestamp) }} - + {% block entry %} + {% block entry_tag %}
{% endblock %} + {% block entry_machine %} #{{ entry.machine_name }} {% endblock %} - - {{ entry.user_name }} - {{ entry.user_firstname }} {{ entry.user_lastname }} - + {% block entry_time %} - - {{ entry.action_name }} - + + {{ core.ts_format(entry.timestamp) }} + Il y a {{ core.ts_relative(entry.timestamp) }} + - - - + {% endblock %} -
-{% endfor %} + {% block entry_user %} + + + {{ entry.user_name }} + {{ entry.user_firstname }} {{ entry.user_lastname }} + + + {% endblock %} + + {% block entry_action %} + + + {{ entry.action_name }} + + + {% endblock %} + + {% block entry_details %} + + + + + + {% endblock %} + +
+ + {% endblock %} + + {% endfor %} + +{% endblock %} \ No newline at end of file