<%page expression_filter="h"/> <%inherit file="base.html" /> <%! from django.utils.translation import ugettext as _ from django.urls import reverse from django.conf import settings %> <%block name="bodyclass">error <%block name="title"> % if error == '404': 404 - ${_("Page Not Found")} % elif error == '500': 500 - ${_("Internal Server Error")} % endif <%block name="content">
% if error == '404':

${_("The Page You Requested Page Cannot be Found")}

${Text(_("We're sorry. We couldn't find the {studio_name} page you're looking for. You may want to return to the {studio_name} Dashboard and try again.")).format( studio_name=settings.STUDIO_SHORT_NAME )}

% elif error == '500':

${_("The Server Encountered an Error")}

${Text(_("We're sorry. There was a problem with the server while trying to process your last request. You may want to return to the {studio_name} Dashboard or try this request again.")).format( studio_name=settings.STUDIO_SHORT_NAME, )}

% endif ${_("Back to dashboard")}