Add a "Developer" tag in the top sidebar if appropriate
authorSverre Rabbelier <srabbelier@gmail.com>
Sat, 21 Feb 2009 17:58:45 +0000
changeset 1439 4d78f2f71ce5
parent 1438 e484f9acf999
child 1440 58ac0b3f59ac
Add a "Developer" tag in the top sidebar if appropriate Patch by: Sverre Rabbelier
app/soc/templates/soc/base.html
--- a/app/soc/templates/soc/base.html	Sat Feb 21 17:10:18 2009 +0000
+++ b/app/soc/templates/soc/base.html	Sat Feb 21 17:58:45 2009 +0000
@@ -90,6 +90,9 @@
 	{% if account %}
 	<b>{{ account.email }} ({{ account.nickname }})</b> | 
 	{% endif %}
+	{% if is_admin %}
+	Developer |
+	{% endif %}
 	{% if is_debug %}
 	<form id="flush_form" action="/_ah/admin/memcache" method="post" style="display: inline;">
       <input type="submit" class="button" name="action:flush" value="Flush Cache"/>