From 45c4fc1d5fa139822ba659694012f6848bb24d52 Mon Sep 17 00:00:00 2001 From: graham-dds Date: Mon, 13 Jan 2020 11:40:54 -0500 Subject: [PATCH] Match empty state for app members with designs --- styles/components/_empty_state.scss | 14 ++++++++++++++ templates/applications/fragments/members.html | 2 +- translations.yaml | 2 +- 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/styles/components/_empty_state.scss b/styles/components/_empty_state.scss index 12405e05..b0b73b16 100644 --- a/styles/components/_empty_state.scss +++ b/styles/components/_empty_state.scss @@ -4,6 +4,20 @@ background-color: $color-gray-lightest; margin-top: $gap * 5; + &--white { + background-color: $color-white; + } + + &--centered { + text-align: center; + } + + &__message { + display: inline-block; + font-weight: bold; + margin-top: 3rem; + } + hr { margin-left: -$gap * 3; margin-right: -$gap * 3; diff --git a/templates/applications/fragments/members.html b/templates/applications/fragments/members.html index 9b1cbf4b..d6fb7290 100644 --- a/templates/applications/fragments/members.html +++ b/templates/applications/fragments/members.html @@ -23,7 +23,7 @@
{% if not application.members %} -
+

{{ ("portfolios.applications.members.blank_slate" | translate) }}

diff --git a/translations.yaml b/translations.yaml index 37ada08a..310a88ba 100644 --- a/translations.yaml +++ b/translations.yaml @@ -402,7 +402,7 @@ portfolios: applications: add_application_text: Add a new application add_environment: Create an Environment - add_member: Add Team Member + add_member: Add New Member add_another_environment: Add another environment app_settings_text: App settings create_button: Create Application