diff --git a/app/assets/stylesheets/views/users.scss b/app/assets/stylesheets/views/users.scss index 57b3a2da4..4854de20f 100644 --- a/app/assets/stylesheets/views/users.scss +++ b/app/assets/stylesheets/views/users.scss @@ -1,3 +1,5 @@ +$item-top-padding: $gutter-half; + .user-list { @include core-19; @@ -5,8 +7,9 @@ &-item { - padding: $gutter-half 150px $gutter-half 0; + padding: $item-top-padding 150px $gutter-half 0; border-top: 1px solid $border-colour; + position: relative; &:last-child { border-bottom: 1px solid $border-colour; @@ -14,4 +17,11 @@ } + &-edit-link { + text-align: right; + position: absolute; + top: $item-top-padding; + right: 0px; + } + } diff --git a/app/templates/views/service-settings/letter-contact-details.html b/app/templates/views/service-settings/letter-contact-details.html index c52a42ec7..a017cf022 100644 --- a/app/templates/views/service-settings/letter-contact-details.html +++ b/app/templates/views/service-settings/letter-contact-details.html @@ -27,18 +27,16 @@ {% endif %} {% for item in letter_contact_details %}
+ {{ item.contact_block | nl2br | safe }} +
++ {%- if item.is_default -%} + (default) + {% endif %} +
+ + Change {% if letter_contact_details|length > 1 %} {{ api_key(item.id, thing="ID") }} {% endif %}