Skip to content

Commit

Permalink
bug: add missing <title>s
Browse files Browse the repository at this point in the history
  • Loading branch information
carlinmack authored and lnielsen committed Apr 2, 2024
1 parent 1f6618f commit 6dccaee
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions invenio_theme/templates/semantic-ui/invenio_theme/401.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

{% extends config.THEME_ERROR_TEMPLATE %}

{%- set title = _("Unauthorized") %}

{% block message %}
<h1><i class="bolt icon"></i> {{_('Unauthorized')}}</h1>
<p>{{_('You need to be authenticated to view this page.')}}</p>
Expand Down
2 changes: 2 additions & 0 deletions invenio_theme/templates/semantic-ui/invenio_theme/403.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

{% extends config.THEME_ERROR_TEMPLATE %}

{%- set title = _("Permission required") %}

{% block message %}
<h1><i class="bolt icon"></i> {{_('Permission required')}}</h1>
<p>{{_('You do not have sufficient permissions to view this page.')}}</p>
Expand Down
2 changes: 2 additions & 0 deletions invenio_theme/templates/semantic-ui/invenio_theme/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

{% extends config.THEME_ERROR_TEMPLATE %}

{%- set title = _("Page not found") %}

{% block message %}
<h1><i class="bolt icon"></i> {{_('Page not found')}}</h1>
<p>{{_('The page you are looking for could not be found.')}}</p>
Expand Down
2 changes: 2 additions & 0 deletions invenio_theme/templates/semantic-ui/invenio_theme/429.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

{% extends config.THEME_ERROR_TEMPLATE %}

{%- set title = _("Too many requests") %}

{% block message %}
<h1><i class="bolt icon"></i> {{_('Too many requests')}}</h1>
<p>{{_('You have made too many consecutive requests, please try again later.')}}</p>
Expand Down
2 changes: 2 additions & 0 deletions invenio_theme/templates/semantic-ui/invenio_theme/500.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

{% extends config.THEME_ERROR_TEMPLATE %}

{%- set title = _("Internal server error") %}

{% block message %}
<h1><i class="bolt icon"></i> {{_('Internal server error')}}</h1>
{% if g.sentry_event_id %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@

{%- extends config.THEME_BASE_TEMPLATE %}

{%- set title = _("Settings") %}

{%- block page_body scoped %}

<div class="ui container fluid page-subheader-outer compact ml-0-mobile mr-0-mobile">
Expand Down

0 comments on commit 6dccaee

Please sign in to comment.