diff --git a/mayan/apps/common/templates/403.html b/mayan/apps/common/templates/403.html index 86ceb04dcf..c32b705f74 100644 --- a/mayan/apps/common/templates/403.html +++ b/mayan/apps/common/templates/403.html @@ -1,5 +1,7 @@ -{% extends "base.html" %} +{% extends 'base.html' %} + {% load i18n %} + {% block title %} :: {% blocktrans %}Insufficient permissions{% endblocktrans %}{% endblock %} {% block content %} diff --git a/mayan/apps/common/templates/404.html b/mayan/apps/common/templates/404.html index 0c76c0560c..42d4f0c33e 100644 --- a/mayan/apps/common/templates/404.html +++ b/mayan/apps/common/templates/404.html @@ -1,5 +1,7 @@ -{% extends "base.html" %} +{% extends 'base.html' %} + {% load i18n %} + {% block title %} :: {% blocktrans %}Page not found{% endblocktrans %}{% endblock %} {% block content %} diff --git a/mayan/apps/common/templates/500.html b/mayan/apps/common/templates/500.html index 950815f80b..9980134ec4 100644 --- a/mayan/apps/common/templates/500.html +++ b/mayan/apps/common/templates/500.html @@ -7,12 +7,11 @@
Sorry, but the requested page is unavailable due to a - server problem.
+Sorry, but the requested page is unavailable due to a server problem.
Administrators have been notified, so check back later.
{% if request.sentry.id %} -If you need assistance, you may reference this error as +
If you need assistance, you may reference this error as {{ request.sentry.id }}.
{% endif %} diff --git a/mayan/apps/common/templates/calculate_form_title.html b/mayan/apps/common/templates/calculate_form_title.html index adaec981d3..c92de4f10c 100644 --- a/mayan/apps/common/templates/calculate_form_title.html +++ b/mayan/apps/common/templates/calculate_form_title.html @@ -1,4 +1,5 @@ {% load i18n %} + {% if title %} {{ title|capfirst }} {% else %} diff --git a/mayan/apps/common/templates/generic_assign_remove.html b/mayan/apps/common/templates/generic_assign_remove.html index 6a75dfe917..d26a74347d 100644 --- a/mayan/apps/common/templates/generic_assign_remove.html +++ b/mayan/apps/common/templates/generic_assign_remove.html @@ -1,15 +1,16 @@ -{% extends "base.html" %} -{% load i18n %} -{% block title %} :: {% blocktrans %}Assign {{ title }} {{ object }}{% endblocktrans %}{% endblock %} +{% extends 'base.html' %} +{% load i18n %} + +{% block title %} :: {% blocktrans %}Assign {{ title }} {{ object }}{% endblocktrans %}{% endblock %} {% block content %} --{% else %} - {% autopaginate object_list %} +{% else %} + {% autopaginate object_list %}