Skip to content

Commit

Permalink
400 y 500 custom pages
Browse files Browse the repository at this point in the history
  • Loading branch information
btenaglia committed May 26, 2015
1 parent 3cb52d4 commit 2b4aa2f
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
22 changes: 22 additions & 0 deletions templates/404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{% extends "base_site.html" %}
{% load i18n_ %}

{% block title %}404 {% endblock %}

{% block left-column %}
<section>
<div class="row">
<div class="col-md-12">
<div class="page-header">
<h1>404 - Esta página no existe</h1>
</div>
<p>Lo sentimos, pero la página que estás intentando visitar no existe.</p>
<script>
var GOOG_FIXURL_LANG = (navigator.language || '').slice(0,2),
GOOG_FIXURL_SITE = location.host;
</script>
<script src="http://linkhelp.clients.google.com/tbproxy/lh/wm/fixurl.js"></script>
</div>
</div>
</section>
{% endblock %}
17 changes: 17 additions & 0 deletions templates/500.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{% extends "base_site.html" %}
{% load i18n %}

{% block title %}500 {% endblock %}

{% block left-column %}
<section>
<div class="row">
<div class="col-md-12">
<div class="page-header">
<h1>{% trans "Server Error" %}</h1>
</div>
<p>Lo sentimos, pero el servidor encontró un error al procesar su solicitud.</p>
</div>
</div>
</section>
{% endblock %}

0 comments on commit 2b4aa2f

Please sign in to comment.