diff --git a/invenio_theme/templates/semantic-ui/invenio_theme/401.html b/invenio_theme/templates/semantic-ui/invenio_theme/401.html index ed84fda1..dce58770 100644 --- a/invenio_theme/templates/semantic-ui/invenio_theme/401.html +++ b/invenio_theme/templates/semantic-ui/invenio_theme/401.html @@ -9,6 +9,8 @@ {% extends config.THEME_ERROR_TEMPLATE %} +{%- set title = _("Unauthorized") %} + {% block message %}

{{_('Unauthorized')}}

{{_('You need to be authenticated to view this page.')}}

diff --git a/invenio_theme/templates/semantic-ui/invenio_theme/403.html b/invenio_theme/templates/semantic-ui/invenio_theme/403.html index d6242553..652da816 100644 --- a/invenio_theme/templates/semantic-ui/invenio_theme/403.html +++ b/invenio_theme/templates/semantic-ui/invenio_theme/403.html @@ -9,6 +9,8 @@ {% extends config.THEME_ERROR_TEMPLATE %} +{%- set title = _("Permission required") %} + {% block message %}

{{_('Permission required')}}

{{_('You do not have sufficient permissions to view this page.')}}

diff --git a/invenio_theme/templates/semantic-ui/invenio_theme/404.html b/invenio_theme/templates/semantic-ui/invenio_theme/404.html index ed4a4c6a..05964481 100644 --- a/invenio_theme/templates/semantic-ui/invenio_theme/404.html +++ b/invenio_theme/templates/semantic-ui/invenio_theme/404.html @@ -9,6 +9,8 @@ {% extends config.THEME_ERROR_TEMPLATE %} +{%- set title = _("Page not found") %} + {% block message %}

{{_('Page not found')}}

{{_('The page you are looking for could not be found.')}}

diff --git a/invenio_theme/templates/semantic-ui/invenio_theme/429.html b/invenio_theme/templates/semantic-ui/invenio_theme/429.html index f6d1d607..7991880b 100644 --- a/invenio_theme/templates/semantic-ui/invenio_theme/429.html +++ b/invenio_theme/templates/semantic-ui/invenio_theme/429.html @@ -9,6 +9,8 @@ {% extends config.THEME_ERROR_TEMPLATE %} +{%- set title = _("Too many requests") %} + {% block message %}

{{_('Too many requests')}}

{{_('You have made too many consecutive requests, please try again later.')}}

diff --git a/invenio_theme/templates/semantic-ui/invenio_theme/500.html b/invenio_theme/templates/semantic-ui/invenio_theme/500.html index 545502db..3829124a 100644 --- a/invenio_theme/templates/semantic-ui/invenio_theme/500.html +++ b/invenio_theme/templates/semantic-ui/invenio_theme/500.html @@ -9,6 +9,8 @@ {% extends config.THEME_ERROR_TEMPLATE %} +{%- set title = _("Internal server error") %} + {% block message %}

{{_('Internal server error')}}

{% if g.sentry_event_id %} diff --git a/invenio_theme/templates/semantic-ui/invenio_theme/page_settings.html b/invenio_theme/templates/semantic-ui/invenio_theme/page_settings.html index c728eb05..2843bb50 100644 --- a/invenio_theme/templates/semantic-ui/invenio_theme/page_settings.html +++ b/invenio_theme/templates/semantic-ui/invenio_theme/page_settings.html @@ -12,6 +12,8 @@ {%- extends config.THEME_BASE_TEMPLATE %} +{%- set title = _("Settings") %} + {%- block page_body scoped %}