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 %}
{{_('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 %}{{_('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 %}{{_('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 %}{{_('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 %}