Permalink
Browse files

Change how templates are displayed.

  • Loading branch information...
1 parent fb1ef04 commit d7f10d83e0a4775ef4535779ba0b5ee73bb1c3df @mattdeboard committed Nov 6, 2011
Showing with 5 additions and 3 deletions.
  1. +1 −1 yuk/templates/401.html
  2. +1 −1 yuk/templates/404.html
  3. +1 −1 yuk/templates/500.html
  4. +2 −0 yuk/templates/base.html
View
@@ -1,5 +1,5 @@
{% extends 'base.html' %}
-{% block content %}
+{% block body %}
<div id="401">You do not have permission to access this item! Sry m8</div>
<div class="row"><label class="column1"></label><span class="column2">
<a class="main_return"
View
@@ -1,5 +1,5 @@
{% extends 'base.html' %}
-{% block auth_action %}
+{% block body %}
{% url yuk.views.redir_to_profile as the_url %}
<h1 class="bye" align=center>Whoops!</h1>
<div id='logout_message' align=center>We couldn't find what you were looking for. <a href="{{ the_url }}">Let's try again.</a></div>
View
@@ -1,5 +1,5 @@
{% extends 'base.html' %}
-{% block auth_action %}
+{% block body %}
{% url yuk.views.redir_to_profile as the_url %}
<h1 class="bye" align=center>Whoops!</h1>
<div id='logout_message' align=center>Looks like something went wrong here. We'll look into it.<a href="{{ the_url }}">Let's try again.</a></div>
View
@@ -54,6 +54,7 @@
{% endif %}
</div></div></div>
<div id="body" class="container">
+{% block body %}
<div id="content" class="span-16 last">
{% block content %}
{% endblock content %}
@@ -85,6 +86,7 @@
{% endblock side %}
</div><!-- #side -->
</div><!-- .container#body -->
+{% endblock body %}
</body>
<script src="https://www.google.com/jsapi?key=ABQIAAAAws5SFy_Td_sCKRwTQoInCxQ2SVv8A922lr7cI-sZNmRbnWY-pRQhIslWrnc_suzQYtE2PWZ_EinY5g" type="text/javascript"></script>
<script type="text/javascript">

0 comments on commit d7f10d8

Please sign in to comment.