diff --git a/amadeus/static/css/base/amadeus.css b/amadeus/static/css/base/amadeus.css index 1b31e02..bf82432 100755 --- a/amadeus/static/css/base/amadeus.css +++ b/amadeus/static/css/base/amadeus.css @@ -914,4 +914,14 @@ li.item .notify_badge { .no_button:focus, .no_button:active:focus, .no_button.active:focus, .no_button.focus, .no_button:active.focus, .no_button.active.focus { outline: none; +} + +.history-header { + line-height: 1.8; +} + +.history-control-label { + padding-right: 0px; + font-size: 16px !important; + margin: 7px 0 0 0 !important; } \ No newline at end of file diff --git a/notifications/templates/notifications/_history.html b/notifications/templates/notifications/_history.html new file mode 100644 index 0000000..94e40a1 --- /dev/null +++ b/notifications/templates/notifications/_history.html @@ -0,0 +1,47 @@ +{% load i18n notification_filters pagination %} + +
{% trans 'Date' %} | +{% trans 'Resource' %} | +{% trans 'Task' %} | +{% trans 'Final Date' %} | +{% trans 'Notification' %} | +{% trans 'Observation' %} | + + + {% if rows > 0 %} + {% for notification in notifications %} +
---|---|---|---|---|---|
{{ notification.creation_date|date:"SHORT_DATE_FORMAT" }} | +{{ notification.task.resource }} | +{{ notification.task.get_action_display }} | +{{ notification.task.end_date|date:"SHORT_DATE_FORMAT"|default:_('Not Informed') }} | +{{ notification.level|warning_msg }} | ++ | +