diff --git a/templates/incidents_base.html b/templates/incidents_base.html index 7d68d79..e90022f 100644 --- a/templates/incidents_base.html +++ b/templates/incidents_base.html @@ -24,8 +24,8 @@

{% translate "Reported incidents" %}

{% endblock %} {% settings_value "TIME_ZONE" as time_zone %} -
- {% if not is_regulator and not is_observer %} +
+ {% if not is_regulator and not is_observer or is_regulator_incidents %}
{% translate "Report an incident" %} @@ -75,25 +75,25 @@

{% translate "Reported incidents" %}

- - - + + - - - - + + - - - + + + {% for incident in incidents %} {% timezone time_zone %} -
{% translate "Incident notification date" %}{% translate "Reference" %} + {% translate "Incident notification date" %}{% translate "Reference" %} {% if is_observer %} {% translate "Regulator" %} {% else %} {% translate "Regulation" %} {% endif %} + {% if is_regulator and not is_regulator_incidents or is_observer %} {% translate "Operator" %} {% else %} {% translate "Regulator" %} {% endif %} {% translate "Sectors" %}{% translate "Subsectors" %} + {% translate "Sectors" %}{% translate "Subsectors" %} @@ -101,16 +101,16 @@

{% translate "Reported incidents" %}

{% translate "Report" %}
{% translate "Incident status" %}{% translate "Significant impact" %}{% translate "Actions" %}{% translate "Incident status" %}{% translate "Significant impact" %}{% translate "Actions" %}
+ {{incident.incident_notification_date|date:"d M Y, H:i" }} diff --git a/templates/regulator/menu.html b/templates/regulator/menu.html index 0b30e22..ae61ac7 100644 --- a/templates/regulator/menu.html +++ b/templates/regulator/menu.html @@ -16,7 +16,6 @@ \ No newline at end of file