/
githubmirror
/
edx-platform
Обзор
Документация
Войти
/
githubmirror
/
edx-platform
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
release-ulmo
cms/templates/404.html
27 строк
750 B
Jawayria
fix: replace 'ugettext' with 'gettext' in cms
14 дек 2021, 17:51
14 дек 2021, 17:51
a1ff388
Код
Авторство
О чём код?
<%page expression_filter="h"/> <%! from django.utils.translation import gettext as _ from openedx.core.djangolib.markup import HTML, Text %> <%inherit file="base.html" /> <%block name="title">${_("Page Not Found")}</%block> <%block name="bodyclass">view-util util-404</%block> <%block name="content"> <div class="wrapper-content wrapper"> <section class="content"> <header> <h1 class="title title-1">${_("Page not found")}</h1> </header> <article class="content-primary" role="main"> <p> ${_('The page that you were looking for was not found.')} ${Text(_('Go back to the {homepage}.')).format( homepage=HTML('<a href="/">homepage</a>'), )} </p> </article> </section> </div> </%block>