diff --git a/app/assets/stylesheets/common/base/login.scss b/app/assets/stylesheets/common/base/login.scss index e0f7e1ed37d..bb84c7ac7dc 100644 --- a/app/assets/stylesheets/common/base/login.scss +++ b/app/assets/stylesheets/common/base/login.scss @@ -387,3 +387,13 @@ button#new-account-link { color: var(--tertiary); } } + +.invite-error { + box-shadow: 0 1px 10px 1px rgba(var(--primary-low-rgb), 1.25); + border-radius: 10px; + padding: 1em 2.5em 1em 2.5em; + .error-image { + text-align: center; + padding-bottom: 1em; + } +} diff --git a/app/views/invites/show.html.erb b/app/views/invites/show.html.erb index 125a9c775ef..e403e247dba 100644 --- a/app/views/invites/show.html.erb +++ b/app/views/invites/show.html.erb @@ -1,7 +1,12 @@
<%if flash[:error]%> -
- <%=flash[:error].html_safe%> +
+
+ crying-face emoji +
+
+ <%=flash[:error].html_safe%> +
<%end%>
diff --git a/config/locales/server.en.yml b/config/locales/server.en.yml index 4b57bc8a5cd..2d1bdc13b0b 100644 --- a/config/locales/server.en.yml +++ b/config/locales/server.en.yml @@ -246,7 +246,7 @@ en:

Otherwise please Reset Password.

not_found_template_link: | -

The invitation to %{site_name} can no longer be redeemed. Please ask the person who invited you to send you a new invitation.

+

This invitation to %{site_name} can no longer be redeemed. Please ask the person who invited you to send you a new invitation.

user_exists: "There's no need to invite %{email}, they already have an account!" invite_exists: "You already invited %{email}." invalid_email: "%{email} isn't a valid email address." diff --git a/public/images/crying-face.svg b/public/images/crying-face.svg new file mode 100644 index 00000000000..c1482d41093 --- /dev/null +++ b/public/images/crying-face.svg @@ -0,0 +1 @@ +