mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-19 05:59:44 -04:00
add other send notification error branches and tests
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
{% from "components/banner.html" import banner_wrapper %}
|
||||
|
||||
<div class="bottom-gutter">
|
||||
{% call banner_wrapper(type='dangerous') %}
|
||||
<h1 class='banner-title'>
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
{% from "components/banner.html" import banner_wrapper %}
|
||||
|
||||
<div class="bottom-gutter">
|
||||
{% call banner_wrapper(type='dangerous') %}
|
||||
<h1 class='banner-title'>
|
||||
|
||||
@@ -14,9 +14,9 @@
|
||||
%}
|
||||
{% include "partials/check/not-allowed-to-send-to.html" %}
|
||||
{% endwith %}
|
||||
{% elif error == 'more_rows_than_can_send' %}
|
||||
{% elif error == 'too-many-messages' %}
|
||||
{% include "partials/check/too-many-messages.html" %}
|
||||
{% elif error == 'row_errors' %}
|
||||
{% elif error == 'message-too-long' %}
|
||||
{# the only row_errors we can get when sending one off messages is that the message is too long #}
|
||||
{% include "partials/check/message-too-long.html" %}
|
||||
{% else %}
|
||||
|
||||
Reference in New Issue
Block a user