Merge pull request #2526 from alphagov/stick-email-status

Stick email status to bottom of screen
This commit is contained in:
Chris Hill-Scott
2018-11-22 12:31:14 +00:00
committed by GitHub
3 changed files with 11 additions and 0 deletions

View File

@@ -60,7 +60,13 @@
{{ template|string }}
{% if template.template_type != 'letter' %}
{% if template.template_type == 'email' %}<div class="js-stick-at-bottom-when-scrolling">{% endif %}
{{ ajax_block(partials, updates_url, 'status', finished=finished) }}
{% if template.template_type == 'email' %}</div>{% endif %}
{% endif %}
{% if current_user.has_permissions('send_messages') and current_user.has_permissions('view_activity') and template.template_type == 'sms' and can_receive_inbound %}