Add messages to the current job’s history

This mocks out a data structure for a job’s messages, and renders this data:
- on the notification page, as a table, which links through to…
- …the page for an indidivual message
This commit is contained in:
Chris Hill-Scott
2015-12-17 11:14:19 +00:00
parent 6bdc0d3fce
commit aa0663cad8
8 changed files with 162 additions and 32 deletions

View File

@@ -1,4 +1,5 @@
{% extends "withnav_template.html" %}
{% from "components/sms-message.html" import sms_message %}
{% block page_title %}
GOV.UK Notify | Notifications activity
@@ -7,12 +8,14 @@ GOV.UK Notify | Notifications activity
{% block maincolumn_content %}
<h1 class="heading-xlarge">A specific notification</h1>
<h1 class="heading-large">
Text message to {{ message.phone }}
</h1>
<p>This page will be where we show what happened for a specific notification.</p>
{{ sms_message(message.message) }}
<p>
<a href="/jobs/job">View other notifications in this job</a>
<a href="{{ url_for('.showjob') }}">View other notifications in this job</a>
</p>