From 5ec1978dcb0b92d198e3f354a782cc4d4a935ed0 Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Fri, 18 Dec 2015 10:26:56 +0000 Subject: [PATCH] Make data consistent from dashboard -> job MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - adds a table of recent activity to the job page, which is shared by the dashboard page - uses the same filename and message template as the first job shown on the dashboard - sets the time of file uploads/message delivery/message sending to always match ‘just now’ --- app/main/views/index.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/main/views/index.py b/app/main/views/index.py index d3f2f7c16..446d52dec 100644 --- a/app/main/views/index.py +++ b/app/main/views/index.py @@ -9,6 +9,12 @@ def index(): return render_template('views/signedout.html') +@main.route("/dashboard") +@login_required +def dashboard(): + return render_template('views/dashboard.html') + + @main.route("/govuk") def govuk(): return render_template('views/govuk_template.html')