diff --git a/app/assets/images/link-expired.png b/app/assets/images/link-expired.png new file mode 100644 index 000000000..dbd96fef2 Binary files /dev/null and b/app/assets/images/link-expired.png differ diff --git a/app/assets/images/not-part-of-any-team.png b/app/assets/images/not-part-of-any-team.png new file mode 100644 index 000000000..c9b2d5467 Binary files /dev/null and b/app/assets/images/not-part-of-any-team.png differ diff --git a/app/assets/stylesheets/themes/scinote.scss b/app/assets/stylesheets/themes/scinote.scss index 3621f393f..d19190a5f 100644 --- a/app/assets/stylesheets/themes/scinote.scss +++ b/app/assets/stylesheets/themes/scinote.scss @@ -144,6 +144,16 @@ body { .jumbotron { background-color: inherit; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + padding-top: 7rem; + + img { + margin-bottom: 1.5rem; + max-width: 33%; + } } .no-teams-info { diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index fbc1f1437..bb6eeb653 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -86,7 +86,7 @@ <% if user_signed_in? && current_user.teams.blank? && !(activities_are_selected? || settings_are_selected?) %>
- <%= image_tag "empty-screen-illustration.png" %> + <%= image_tag "not-part-of-any-team.png" %>

<%=t 'general.no_teams.title' %>

<%=t 'general.no_teams.text' %>

diff --git a/app/views/zip_exports/file_expired.html.erb b/app/views/zip_exports/file_expired.html.erb index 5bd025779..416da6d95 100644 --- a/app/views/zip_exports/file_expired.html.erb +++ b/app/views/zip_exports/file_expired.html.erb @@ -1,5 +1,6 @@
+ <%= image_tag "link-expired.png" %>

<%=t 'zip_export.expired_title' %>

<%=t 'zip_export.expired_description' %>