mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-25 00:33:58 -04:00
Merge pull request #2511 from alphagov/sticky-send
Use sticky footer on the check one-off page
This commit is contained in:
@@ -40,7 +40,15 @@
|
|||||||
|
|
||||||
.js-stick-at-bottom-when-scrolling {
|
.js-stick-at-bottom-when-scrolling {
|
||||||
|
|
||||||
|
$vertical-padding: $gutter * 2 / 3;
|
||||||
|
|
||||||
transition: bottom 0.1s ease-out, box-shadow 1s ease-in-out;
|
transition: bottom 0.1s ease-out, box-shadow 1s ease-in-out;
|
||||||
|
padding: $vertical-padding 0 $vertical-padding $gutter-half;
|
||||||
|
margin-top: -$vertical-padding;
|
||||||
|
|
||||||
|
.page-footer {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -543,6 +543,7 @@ def _check_messages(service_id, template_id, upload_id, preview_row, letters_as_
|
|||||||
db_template,
|
db_template,
|
||||||
current_service,
|
current_service,
|
||||||
show_recipient=True,
|
show_recipient=True,
|
||||||
|
expand_emails=True,
|
||||||
letter_preview_url=url_for(
|
letter_preview_url=url_for(
|
||||||
'.check_messages_preview',
|
'.check_messages_preview',
|
||||||
service_id=service_id,
|
service_id=service_id,
|
||||||
@@ -853,6 +854,7 @@ def _check_notification(service_id, template_id, exception=None):
|
|||||||
db_template,
|
db_template,
|
||||||
current_service,
|
current_service,
|
||||||
show_recipient=True,
|
show_recipient=True,
|
||||||
|
expand_emails=True,
|
||||||
email_reply_to=email_reply_to,
|
email_reply_to=email_reply_to,
|
||||||
sms_sender=sms_sender,
|
sms_sender=sms_sender,
|
||||||
letter_preview_url=url_for(
|
letter_preview_url=url_for(
|
||||||
|
|||||||
@@ -52,7 +52,7 @@
|
|||||||
|
|
||||||
{{ template|string }}
|
{{ template|string }}
|
||||||
|
|
||||||
<div class="bottom-gutter-3-2">
|
<div class="js-stick-at-bottom-when-scrolling">
|
||||||
<form method="post" enctype="multipart/form-data" action="{{url_for(
|
<form method="post" enctype="multipart/form-data" action="{{url_for(
|
||||||
'main.send_notification',
|
'main.send_notification',
|
||||||
service_id=current_service.id,
|
service_id=current_service.id,
|
||||||
|
|||||||
Reference in New Issue
Block a user