templates/index.html
changeset 26 9d18daf5277f
parent 19 115860e87238
child 34 c12a0b773720
--- a/templates/index.html	Tue Apr 13 14:29:00 2010 +0530
+++ b/templates/index.html	Tue Apr 13 14:50:48 2010 +0530
@@ -1,8 +1,14 @@
 {% extends "base.html" %}
 {% block content %}
+	{% if not user.is_authenticated %}
+		Welcome Guest.<br />
+		<br />
+		You can know about workshops by clicking on workshops link on the left.<br />		
+	{% else %}
+		Welcome {{user.get_full_name}}<br />
+		<br />Workshops you have registered for:
+	{% endif %}
 	{% if user.is_staff %}
 		<a href="/reg/event/create">Create an event</a><br />	
 	{% endif %}
-	<a href="/reg/event/list">List of Workshops</a> 
-
 {% endblock %}