<%inherit file="base.html" /> <%! from django.utils.translation import ugettext as _ from django.core.urlresolvers 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 <%! if settings.TENDER_DOMAIN: help_link_start = ''.format( domain=settings.TENDER_DOMAIN, title=_("Use our feedback tool, Tender, to share your feedback") ), help_link_end = '' else: help_link_start = ''.format(email=settings.TECH_SUPPORT_EMAIL) help_link_end = '' %> <%block name="content">
% if error == '404':

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

${_("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. If you are still having problems accessing things, please feel free to {link_start}contact {studio_name} support{link_end} for further help.").format( studio_name=settings.STUDIO_SHORT_NAME, link_start=help_link_start, link_end=help_link_end, )}

% elif error == '500':

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

${_("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. If you are still having problems accessing things, please feel free to {link_start}contact {studio_name} support{link_end} for further help.").format( studio_name=settings.STUDIO_SHORT_NAME, link_start=help_link_start, link_end=help_link_end, )}

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