<%! from django.utils.translation import ugettext as _ %> <%inherit file="base.html" /> <%! from django.core.urlresolvers import reverse %> <%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")}

${_("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=''.format(title=_("Use our feedback tool, Tender, to share your feedback")), 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=''.format(title=_("Use our feedback tool, Tender, to share your feedback")), link_end='', )}

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