From 9db0fff428a0d8889765f0e856663b02e07d770a Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Tue, 23 Feb 2016 11:32:33 +0000 Subject: [PATCH] Bring back the tip banners --- app/templates/views/service_dashboard.html | 28 +++++++++++++++++++--- 1 file changed, 25 insertions(+), 3 deletions(-) diff --git a/app/templates/views/service_dashboard.html b/app/templates/views/service_dashboard.html index e0b5527a5..045a90695 100644 --- a/app/templates/views/service_dashboard.html +++ b/app/templates/views/service_dashboard.html @@ -23,11 +23,33 @@ - {% if not jobs %} + {% if not template_count and not jobs %} {{ banner( - 'Send yourself a text message', + """ +
    +
  1. + Add a template +
  2. +
  3. + Send yourself a text message +
  4. +
+ """.format( + url_for(".add_service_template", service_id=service_id), + url_for(".choose_sms_template", service_id=service_id) + )|safe, subhead='Get started', - type='tip' + type="tip" + )}} + {% elif not jobs %} + {{ banner( + """ + Send yourself a text message + """.format( + url_for(".choose_sms_template", service_id=service_id) + )|safe, + subhead='Next step', + type="tip" )}} {% else %} {% call(item) list_table(