diff --git a/response/templates/response/base.html b/response/templates/response/base.html index 9c8206f9..faf7de52 100644 --- a/response/templates/response/base.html +++ b/response/templates/response/base.html @@ -5,33 +5,34 @@ - - {% block title %} - Response + {% block head %} + <title> + {% block title %} + Response + {% endblock %} + + + {% block favicon %} + {% endblock %} - - {% block favicon %} - - {% endblock %} + {% block meta %} + + + + + + + {% endblock %} - {% block meta %} - - - - - - - {% endblock %} + {% block static %} + + + + {% endblock %} - {% block static %} - - - + {% block head_extra %}{% endblock %} {% endblock %} - - {% block head %}{% endblock %} - @@ -87,8 +88,10 @@ - - {% block javascript %}{% endblock %} + {% block javascript %} + + {% block javascript_extra %}{% endblock %} + {% endblock %} diff --git a/response/templates/response/incident_doc.html b/response/templates/response/incident_doc.html index 7bd358bf..7d2c344d 100644 --- a/response/templates/response/incident_doc.html +++ b/response/templates/response/incident_doc.html @@ -8,7 +8,7 @@ Inc #{{ incident.pk }} – {{ block.super }} {% endblock %} -{% block head %} +{% block head_extra %} {% endblock %} @@ -39,70 +39,79 @@

{% comment %} ----- Summary ----- {% endcomment %} -

Summary

-

- {% if incident.summary %} - {{ incident.summary|unslackify|markdown_filter|safe }} - {% endif %} -

+ {% block incident_summary %} +

Summary

+

+ {% if incident.summary %} + {{ incident.summary|unslackify|markdown_filter|safe }} + {% endif %} +

+ {% endblock %} + + {% block incident_data %} + + {% endblock %} {% comment %} ----- Timeline ----- {% endcomment %} -

Timeline

- {% if events %} -
- {% for event in events.all %} -
-
- - {{ event.icon|safe }}{{ event.timestamp|date:"H:i:s" }} - - {{ event|stringformat:'s'|unslackify|markdown_filter|safe }} + {% block incident_timeline %} +

Timeline

+ {% if events %} +
+ {% for event in events.all %} +
+
+ + {{ event.icon|safe }}{{ event.timestamp|date:"H:i:s" }} + + {{ event|stringformat:'s'|unslackify|markdown_filter|safe }} +
-
- {% endfor %} -
- {% endif %} + {% endfor %} +
+ {% endif %} + {% endblock %}