From 1dcbf7755a0f8b99c8fdc832b4568767fb21b4fa Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Thu, 20 Feb 2020 12:12:53 +0000 Subject: [PATCH] Add a back link to the received messages page MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It’s not a top level page (sits within the dashboard) so it should link back to its parent page. --- app/templates/views/dashboard/inbox.html | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/app/templates/views/dashboard/inbox.html b/app/templates/views/dashboard/inbox.html index 39189c3de..8ea050b0b 100644 --- a/app/templates/views/dashboard/inbox.html +++ b/app/templates/views/dashboard/inbox.html @@ -1,4 +1,5 @@ {% from "components/ajax-block.html" import ajax_block %} +{% from "components/page-header.html" import page_header %} {% extends "withnav_template.html" %} @@ -8,9 +9,10 @@ {% block maincolumn_content %} -

- Received text messages -

+ {{ page_header( + 'Received text messages', + back_link=url_for('main.service_dashboard', service_id=current_service.id) + ) }} {{ ajax_block( partials,