diff --git a/app/assets/javascripts/apiKey.js b/app/assets/javascripts/apiKey.js index 4b7889d97..79c2540b4 100644 --- a/app/assets/javascripts/apiKey.js +++ b/app/assets/javascripts/apiKey.js @@ -50,6 +50,10 @@ $component.html(states.keyVisible(key, thing)) ); + if ('stickAtBottomWhenScrolling' in GOVUK) { + GOVUK.stickAtBottomWhenScrolling.recalculate(); + } + }; }; diff --git a/app/templates/views/organisations/organisation/users/index.html b/app/templates/views/organisations/organisation/users/index.html index f2a4d7b10..0226ade87 100644 --- a/app/templates/views/organisations/organisation/users/index.html +++ b/app/templates/views/organisations/organisation/users/index.html @@ -11,16 +11,9 @@ {% block maincolumn_content %} -
-
-

- Team members -

-
-
- Invite team member -
-
+

+ Team members +

{% if show_search_box %}
@@ -58,6 +51,8 @@ {% endfor %}
+
+ Invite team member +
+ {% endblock %} - - diff --git a/app/templates/views/service-settings/letter-contact-details.html b/app/templates/views/service-settings/letter-contact-details.html index da2c0f0a4..6037e8ec0 100644 --- a/app/templates/views/service-settings/letter-contact-details.html +++ b/app/templates/views/service-settings/letter-contact-details.html @@ -15,11 +15,6 @@ Sender addresses - {% if current_user.has_permissions('manage_service') %} -
- Add a new address -
- {% endif %}
{% if not letter_contact_details %} @@ -46,4 +41,13 @@
{% endfor %} + {% if current_user.has_permissions('manage_service') %} +
+
+ +
+
+ {% endif %} {% endblock %} diff --git a/app/templates/views/service-settings/letter-contact/add.html b/app/templates/views/service-settings/letter-contact/add.html index 9aac44217..d4be27380 100644 --- a/app/templates/views/service-settings/letter-contact/add.html +++ b/app/templates/views/service-settings/letter-contact/add.html @@ -14,26 +14,28 @@ Add a new address
- {% call form_wrapper() %} - {{ textbox( - form.letter_contact_block, - label='This will appear as the ‘sender’ address on your letters.'|safe, - hint='10 lines maximum', - width='1-1', - rows=10, - highlight_tags=True +
+ {% call form_wrapper() %} + {{ textbox( + form.letter_contact_block, + label='This will appear as the ‘sender’ address on your letters.'|safe, + hint='10 lines maximum', + width='1-2', + rows=10, + highlight_tags=True + ) }} + {% if not first_contact_block %} +
+ {{ checkbox(form.is_default) }} +
+ {% endif %} + {{ page_footer( + 'Add', + back_link=None if request.args.get('from_template') else url_for('.service_letter_contact_details', service_id=current_service.id), + back_link_text='Back' ) }} - {% if not first_contact_block %} -
- {{ checkbox(form.is_default) }} -
- {% endif %} - {{ page_footer( - 'Add', - back_link=None if request.args.get('from_template') else url_for('.service_letter_contact_details', service_id=current_service.id), - back_link_text='Back' - ) }} - {% endcall %} + {% endcall %} +
{% endblock %}