# HG changeset patch # User Sverre Rabbelier # Date 1235937623 0 # Node ID 947a0ee153a48b6c50452e53a21cdc2fe982afd9 # Parent a06d60fcb23db23e2a70a52d46eb6e922e10e6f8 Make it possible to use base.html to display simple messages Patch by: Sverre Rabbelier diff -r a06d60fcb23d -r 947a0ee153a4 app/soc/templates/soc/base.html --- a/app/soc/templates/soc/base.html Sun Mar 01 18:57:08 2009 +0000 +++ b/app/soc/templates/soc/base.html Sun Mar 01 20:00:23 2009 +0000 @@ -206,11 +206,15 @@
- +
- {% block body %} + {% block body %} + {% if body_content %} + {{ body_content }} + {% else %} <Missing Page Body> - {% endblock %} + {% endif %} + {% endblock %}