diff --git a/device/templates/tabs/log.html b/device/templates/tabs/log.html index 1fd0b1b..6ac5a24 100644 --- a/device/templates/tabs/log.html +++ b/device/templates/tabs/log.html @@ -1,30 +1,29 @@ {% load i18n %} - -
-
{% trans 'Log' %}
-
- - - - - - - - - - {% for state_change in device_states %} - - - - - - {% empty %} - - - - {% endfor %} - -
{% trans 'State' %}{% trans 'User' %}{% trans 'Date' %}
{{ state_change.state }}{{ state_change.user.responsable_person|default:state_change.user.username }}{{ state_change.date|date:"M j, Y, H:i" }}
{% trans 'No state changes recorded.' %}
-
-
+
+
{% trans 'Log' %}
+
+ + + + + + + + + + {% for log in device_logs %} + + + + + + {% empty %} + + + + {% endfor %} + +
{% trans 'Date' %}{% trans 'Event' %}{% trans 'User' %}
{{ log.date|date:"M j, Y, H:i" }}{{ log.event }}{{ log.user.get_full_name|default:log.user.username }}
{% trans 'No logs recorded.' %}
+
+