templates/index.html
changeset 47 e1895d2ede97
parent 34 c12a0b773720
child 48 9a52ca561c1d
--- a/templates/index.html	Thu Apr 15 15:51:16 2010 +0530
+++ b/templates/index.html	Thu Apr 15 16:01:03 2010 +0530
@@ -7,6 +7,16 @@
 	{% else %}
 		Welcome {{user.get_full_name}}<br />
 	{% endif %}
+	
+	{% if user.is_active and registered_events %}
+		Workshops you have registered for:
+		<ul>
+		{% for a_event in registered_events %}
+			<li><a href="/reg/event/view/{{a_event.key}}">{{a_event.title}}</a></li>
+		{% endfor %}
+		</ul>
+	{% endif %}
+	
 	{% if user.is_staff %}
 		<a href="/reg/event/create">Create an event</a><br />	
 	{% endif %}