diff --git a/src/bundle/Resources/public/img/errors/background.png b/src/bundle/Resources/public/img/errors/background.png
new file mode 100644
index 0000000000..efa645263e
Binary files /dev/null and b/src/bundle/Resources/public/img/errors/background.png differ
diff --git a/src/bundle/Resources/public/scss/_error-page.scss b/src/bundle/Resources/public/scss/_error-page.scss
index 813a89d9a9..6eec514ecc 100644
--- a/src/bundle/Resources/public/scss/_error-page.scss
+++ b/src/bundle/Resources/public/scss/_error-page.scss
@@ -1,49 +1,57 @@
-.error-page-wrapper {
- width: 100vw;
+.ez-error-page-wrapper {
+ width: 100%;
height: 100vh;
- background: $ibexa-white;
-
- .error-page {
- height: 100vh;
- flex-direction: column;
- align-items: center;
- justify-content: center;
+
+ .ez-error-page {
+ width: 100%;
+
+ &__logo-link {
+ display: inline-block;
+ max-width: calculateRem(88px);
+ max-height: calculateRem(24px);
+ margin-top: calculateRem(15px);
+ }
- &__title {
- text-align: center;
- font-size: calculateRem(58px);
+ &__logo-image {
+ display: inline-block;
+ max-width: 100%;
+ width: auto;
+ height: auto;
}
- &__messages {
+ &__messages-container {
display: flex;
flex-direction: column;
- align-items: center;
+ }
+
+ &__icon {
+ margin-top: calculateRem(100px);
+ margin-bottom: calculateRem(20px);
+ }
+
+ &__title {
+ text-align: center;
+ font-size: calculateRem(32px);
+ margin-bottom: calculateRem(32px);
}
&__message {
text-align: center;
- font-size: calculateRem(16px);
&--title {
- margin: calculateRem(70px) auto;
- font-size: calculateRem(45px);
- }
-
- &--content {
- max-width: calculateRem(630px);
+ font-weight: bold;
+ margin-bottom: 0;
}
&--actions {
- max-width: calculateRem(700px);
- margin-top: calculateRem(40px);
- font-size: calculateRem(21px);
- line-height: calculateRem(38px);
+ margin-top: calculateRem(80px);
}
}
- }
- &__link {
- color: #0058ba;
- text-decoration: none;
+ &--top-section {
+ height: calculateRem(500px);
+ background-color: $ibexa-white;
+ background-image: url('/bundles/ezplatformadminui/img/errors/background.png');
+ }
}
}
diff --git a/src/bundle/Resources/translations/forms.en.xliff b/src/bundle/Resources/translations/forms.en.xliff
index 085be29f55..b0a56c3955 100644
--- a/src/bundle/Resources/translations/forms.en.xliff
+++ b/src/bundle/Resources/translations/forms.en.xliff
@@ -446,6 +446,11 @@
Segment / Updatekey: role.policy.segment.update
+
+
+ Segment / View user segment list
+ key: role.policy.segment.view_user_segment_list
+ Segment group
diff --git a/src/bundle/Resources/translations/messages.en.xliff b/src/bundle/Resources/translations/messages.en.xliff
index 0af52af4c8..94f5cb88fb 100644
--- a/src/bundle/Resources/translations/messages.en.xliff
+++ b/src/bundle/Resources/translations/messages.en.xliff
@@ -212,8 +212,8 @@
key: error.page.404.title
-
- You can also go back or try to reload the application.]]>
+
+ Contact your Administrator and inform them about the time the error occurred, the URL in your browser window, and anything related that you think may have caused the error. You can also go back or try to reload the application.]]>key: error.page.default.actions
diff --git a/src/bundle/Resources/views/themes/admin/ui/error_page/403.html.twig b/src/bundle/Resources/views/themes/admin/ui/error_page/403.html.twig
index 4cbd69dc2c..5917b835a3 100644
--- a/src/bundle/Resources/views/themes/admin/ui/error_page/403.html.twig
+++ b/src/bundle/Resources/views/themes/admin/ui/error_page/403.html.twig
@@ -5,15 +5,23 @@
{% block body_class %}ez-has-no-sidebars{% endblock %}
{% block content %}
-
-
-
-
{{ 'error.page.403.title'|trans|desc('You don\'t have permission') }}
-
-
{{ 'error.page.403.sub_title'|trans|raw|desc('Not possible to retrieve or access this page.') }}
-
{{ 'error.page.403.actions'|trans({ '%dashboard%': path('ezplatform.dashboard'), '%search%': path('ezplatform.search') })|raw|desc('Please contact your Administrator to request access to this content or modify your profile. Otherwise, go back to dashboard or search for another Content item.') }}
{{ 'error.page.403.title'|trans|desc('You don\'t have permission') }}
+
{{ 'error.page.403.sub_title'|trans|raw|desc('Not possible to retrieve or access this page.') }}
+
+
{{ 'error.page.403.actions'|trans({ '%dashboard%': path('ezplatform.dashboard'), '%search%': path('ezplatform.search') })|raw|desc('Please contact your Administrator to request access to this content or modify your profile. Otherwise, go back to dashboard or search for another Content item.') }}
{{ 'error.page.404.title'|trans|desc('Page not found') }}
-
-
{{ 'error.page.404.sub_title'|trans|raw|desc('You probably weren\'t expecting to land here.') }}
-
{{ 'error.page.404.message'|trans|raw|desc('The page you requested was not found. It might have been deleted or it is temporarily unavailable.') }}
-
{{ 'error.page.404.actions'|trans({ '%dashboard%': path('ezplatform.dashboard'), '%search%': path('ezplatform.search') })|raw|desc('Check the URL for a typo and try again. Otherwise, go back to the dashboard or search for another Content item.') }}
{{ 'error.page.404.title'|trans|desc('Page not found') }}
+
{{ 'error.page.404.sub_title'|trans|raw|desc('You probably weren\'t expecting to land here.') }}
+
{{ 'error.page.404.message'|trans|raw|desc('The page you requested was not found. It might have been deleted or it is temporarily unavailable.') }}
+
+
{{ 'error.page.404.actions'|trans({ '%dashboard%': path('ezplatform.dashboard'), '%search%': path('ezplatform.search') })|raw|desc('Check the URL for a typo and try again. Otherwise, go back to the dashboard or search for another Content item.') }}
{{ 'error.page.default.title'|trans|desc('Something went wrong') }}
-
-
{{ 'error.page.default.sub_title'|trans|raw|desc('We apologize for the internal server error.') }}
-
{{ 'error.page.default.message'|trans|raw|desc('The server was unable to complete your request because of an internal problem.') }}
-
{{ 'error.page.default.actions'|trans|raw|desc('Contact your Administrator and inform them about the time the error occurred, the URL in your browser window, and anything related that you think may have caused the error. You can also go back or try to reload the application.') }}
{{ 'error.page.default.title'|trans|desc('Something went wrong') }}
+
{{ 'error.page.default.sub_title'|trans|raw|desc('We apologize for the internal server error.') }}
+
{{ 'error.page.default.message'|trans|raw|desc('The server was unable to complete your request because of an internal problem.') }}
+
+
{{ 'error.page.default.actions'|trans|raw|desc('Contact your Administrator and inform them about the time the error occurred, the URL in your browser window, and anything related that you think may have caused the error. You can also go back or try to reload the application.') }}