Add notification bar block in base.html template.
authorPawel Solyga <Pawel.Solyga@gmail.com>
Thu, 09 Oct 2008 13:56:42 +0000
changeset 289 1b63d17d5b62
parent 288 46cd7361dcc4
child 290 2a92b866ed40
Add notification bar block in base.html template. Patch by: Pawel Solyga Review by: to-be-reviewed
app/soc/templates/soc/base.html
--- a/app/soc/templates/soc/base.html	Thu Oct 09 13:50:44 2008 +0000
+++ b/app/soc/templates/soc/base.html	Thu Oct 09 13:56:42 2008 +0000
@@ -58,6 +58,9 @@
 	<div id="breadcrumbs">
 	{% block breadcrumbs %}{% endblock %}
 	</div>
+	<div id="notice">
+	{% block notice %}{% if notice %}<table align="center"><tr><td><div class="notice"><div class="rounded_ul"><div class="rounded_ur"><div class="rounded_ll"><div class="rounded_lr"> <div style="padding: 5px 10px;"><b>{{ notice }}</b></div></div></div></div></div></div><td></tr></table>{% endif %}
+	{% endblock %}</div>
   </div>
 
   <div id="side" dir="ltr">