diff --git a/admin/templates/states_panel.html b/admin/templates/states_panel.html index edcb5e8..c7a4d36 100644 --- a/admin/templates/states_panel.html +++ b/admin/templates/states_panel.html @@ -132,7 +132,7 @@ {% for state_definition in state_definitions %}
{% trans 'Are you sure you want to undo this state?' %}
+ + ++ {{ device_states.0.state }} +
+{% trans 'Date' %} | -{% trans 'User' %} | {% trans 'State' %} | -{% trans 'Actions' %} | +{% trans 'User' %} | +{% trans 'Date' %} |
---|---|---|---|---|---|
{{ state_change.date|date:"SHORT_DATETIME_FORMAT" }} | -{{ state_change.user.responsable_person|default:state_change.user.username }} | {{ state_change.state }} | -
- {% if state_change.date|timesince < '1 hour' %}
-
-
-
-
-
-
-
- {% endif %}
-
-
-
-
-
-
- {% trans 'Confirm Delete' %}- -
-
- {% trans 'Are you sure you want to undo this state?' %} -{{ state_change.state }} - {{ state_change.date|date:"SHORT_DATETIME_FORMAT" }} -
-
-
-
- |
+ {{ state_change.user.responsable_person|default:state_change.user.username }} | +{{ state_change.date|date:"M j, Y, H:i" }} |