diff options
Diffstat (limited to 'papillon/templates')
-rw-r--r-- | papillon/templates/500.html | 6 | ||||
-rw-r--r-- | papillon/templates/base.html | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/papillon/templates/500.html b/papillon/templates/500.html new file mode 100644 index 0000000..8196c56 --- /dev/null +++ b/papillon/templates/500.html @@ -0,0 +1,6 @@ +{% extends "base.html" %} +{% load i18n %} + +{% block content %} +<p>{% trans "An error has occurred. A system administrator has been informed and will probably fix it soon." %}</p> +{% endblock %} diff --git a/papillon/templates/base.html b/papillon/templates/base.html index 6487b16..af4a815 100644 --- a/papillon/templates/base.html +++ b/papillon/templates/base.html @@ -1,8 +1,8 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" +{% load staticfiles %}<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> - <link rel="stylesheet" href="{{media_url}}styles.css" /> + <link rel="stylesheet" href="{% static 'styles.css' %}" /> <title>{% block title %}Papillon{% endblock %}</title> {% block fullscript %}{% endblock %} </head> |