prettifying the view event page .
authornishanth
Tue, 13 Apr 2010 15:09:41 +0530
changeset 34 c12a0b773720
parent 33 6a68ef9597f9
child 35 79dc44b6edd4
prettifying the view event page .
templates/index.html
templates/view_event.html
--- a/templates/index.html	Tue Apr 13 15:03:37 2010 +0530
+++ b/templates/index.html	Tue Apr 13 15:09:41 2010 +0530
@@ -6,7 +6,6 @@
 		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 />	
--- a/templates/view_event.html	Tue Apr 13 15:03:37 2010 +0530
+++ b/templates/view_event.html	Tue Apr 13 15:09:41 2010 +0530
@@ -8,15 +8,15 @@
 	{% if user.is_authenticated %}
 		{% if event.registration_is_open %}
 			{% if is_attendee %}
-				You have registered for this workshop.
+				You have registered for this workshop.<br />
 			{% else %}
-				<a href="/reg/event/register/{{event.key}}">Register for the workshop.</a><br />
+				<a href="/reg/event/register/{{event.key}}">Register for this workshop.</a><br />
 			{% endif %}	
 		{% else %}
-			Registration for this workshop is not open at this moment.
+			Registration for this workshop is not open at this moment.<br />
 		{% endif %}
 	{% else %}
-		You must be a registered user to register for this workshop.
+		You must be a registered user to register for this workshop.<br />
 	{% endif %}
 	
 	{% if can_submit_feedback %}
@@ -25,6 +25,7 @@
 	
 	{% if is_org %}
 		<a href="/reg/event/attendees/{{event.key}}">Click here</a> to view list of people registered for the workshop. <br />
+		<a href="/feedback/list/{{event.key}}">Click here</a> to see the feedbacks that we submitted.<br /><br />
 		{% if user.is_staff %}
 			{% if event.registration_is_open %}
 				<a href="/reg/event/registration/close/{{event.key}}">Click here</a> to close the registration.<br />
@@ -41,7 +42,6 @@
 			{% ifequal event.feedback_status "0" %}
 				<a href="/reg/event/feedback/open/{{event.key}}">Click here</a> to open the feedback.<br />
 			{% else %}
-				<a href="/feedback/list/{{event.key}}">Click here</a> to see the feedbacks that we submitted.<br />
 				<a href="/reg/event/feedback/close/{{event.key}}">Click here</a> to close the feedback for day {{event.feedback_status}}.<br />
 			{% endifequal %}
 		{% endif %}