templates/index.html
changeset 18 7dae32a2439b
parent 14 cd6911eaac2c
child 19 115860e87238
--- a/templates/index.html	Mon Apr 12 16:17:53 2010 +0530
+++ b/templates/index.html	Mon Apr 12 18:15:21 2010 +0530
@@ -1,6 +1,7 @@
 {% extends "base.html" %}
 {% block content %}
-	{% for event in events %}
-		<a href="/reg/event/view/{{event.key}}">{{event.title}}</a><br />
-	{% endfor %}
+	{% if user.is_staff %}
+		<a href="/reg/event/create">Create an event</a><br />	
+	{% endif %}
+
 {% endblock %}