Make banner on template page real

This commit is contained in:
Chris Hill-Scott
2016-02-04 11:31:33 +00:00
parent 54cad9cf24
commit 51208a9eb2
2 changed files with 13 additions and 7 deletions

View File

@@ -11,13 +11,16 @@ GOV.UK Notify | Manage templates
<h1 class="heading-large">Templates</h1>
{{ banner(
'<a href="{}">Try sending a text message</a>'.format(
url_for(".choose_sms_template", service_id=service_id)
)|safe,
subhead='Next step',
type="tip"
)}}
{% if not has_jobs %}
{{ banner(
'<a href="{}">Try sending a text message</a>'.format(
url_for(".choose_sms_template", service_id=service_id)
)|safe,
subhead='Next step',
type="tip"
)}}
{% endif %}
<div class="grid-row">
<div class="column-two-thirds">