add template partials for some notification checks

also move out some from the check.html page. This is going to help
with sharing templates between single notifications and csv files.
This commit is contained in:
Leo Hemsted
2017-06-29 12:40:03 +01:00
parent 4eb35a9aa6
commit f1ecee8469
4 changed files with 59 additions and 44 deletions
@@ -0,0 +1,10 @@
<div class="bottom-gutter">
{% call banner_wrapper(type='dangerous') %}
<h1 class='banner-title'>
Message too long
</h1>
<p>
Text messages cant be longer than {{ template|string|length }} characters. Your message is {{message_length}} characters.
</p>
{% endcall %}
</div>