changed the urls to /workshop/registration/.. from /reg/.. in all the templates
authornishanth
Fri, 16 Apr 2010 16:37:28 +0530
changeset 75 bda9ee536063
parent 74 c47a6c63eaa7
child 76 b0f5c8666edf
changed the urls to /workshop/registration/.. from /reg/.. in all the templates
templates/account_inactive.html
templates/base.html
templates/close_feedback.html
templates/event_register.html
templates/index.html
templates/list_attendees.html
templates/list_events.html
templates/list_feedbacks.html
templates/login.html
templates/open_feedback.html
templates/password_change.html
templates/password_reset.html
templates/reg_close.html
templates/show_report.html
templates/view_event.html
templates/view_profile.html
--- a/templates/account_inactive.html	Fri Apr 16 16:29:00 2010 +0530
+++ b/templates/account_inactive.html	Fri Apr 16 16:37:28 2010 +0530
@@ -1,6 +1,6 @@
 {% extends "base.html" %}
 {% block content %}
 Your account is inactive. An activation email has been sent to your email address.<br />
-<a href="/reg/resend_activation/?email={{email}}">Click here</a> to resend the activation email.<br />
+<a href="/workshop/registration/resend_activation/?email={{email}}">Click here</a> to resend the activation email.<br />
 
 {% endblock %}
--- a/templates/base.html	Fri Apr 16 16:29:00 2010 +0530
+++ b/templates/base.html	Fri Apr 16 16:37:28 2010 +0530
@@ -127,17 +127,17 @@
 
 <div id="left">
 	<ul id="nav">
-	<li><a href="/reg">Home</a></li>
+	<li><a href="/workshop/registration">Home</a></li>
 	{% if user.is_authenticated %}
 <!--		Welcome {{user.get_full_name}} -->
-		<li><a href="/reg/profile/view">My Profile</a></li>
-		<li><a href="/reg/logout">Logout</a></li>
+		<li><a href="/workshop/registration/profile/view">My Profile</a></li>
+		<li><a href="/workshop/registration/logout">Logout</a></li>
 	{% else %}
-		<li><a href="/reg/login/">Login</a></li>
-		<li><a href="/reg/register/">Register</a></li>
+		<li><a href="/workshop/registration/login/">Login</a></li>
+		<li><a href="/workshop/registration/register/">Register</a></li>
 	{% endif %}
 	<br />
-	<li><a href="/reg/event/list">Workshops</a></li>
+	<li><a href="/workshop/registration/event/list">Workshops</a></li>
 	</ul>
 </div>
 <br />
--- a/templates/close_feedback.html	Fri Apr 16 16:29:00 2010 +0530
+++ b/templates/close_feedback.html	Fri Apr 16 16:37:28 2010 +0530
@@ -1,5 +1,5 @@
 {% extends "base.html" %}
 {% block content %}
 	Feedback for day {{day}} of {{event.title}} has been successfully closed.<br />
-	<a href="/reg/event/view/{{event.key}}">Click here</a> to return to the event page.
+	<a href="/workshop/registration/event/view/{{event.key}}">Click here</a> to return to the event page.
 {% endblock %}
--- a/templates/event_register.html	Fri Apr 16 16:29:00 2010 +0530
+++ b/templates/event_register.html	Fri Apr 16 16:37:28 2010 +0530
@@ -1,5 +1,5 @@
 {% extends "base.html" %}
 {% block content %}
 	You have successfully registered for the workshop {{event.title}}.<br />
-	<a href="/reg/event/view/{{event.key}}">Click here</a> to return to view the workshop.
+	<a href="/workshop/registration/event/view/{{event.key}}">Click here</a> to return to view the workshop.
 {% endblock %}
--- a/templates/index.html	Fri Apr 16 16:29:00 2010 +0530
+++ b/templates/index.html	Fri Apr 16 16:37:28 2010 +0530
@@ -13,17 +13,17 @@
 				You have registered for the following workshops:
 				<ul>
 				{% for a_event in registered_events %}
-					<li><a href="/reg/event/view/{{a_event.key}}">{{a_event.title}}</a></li>
+					<li><a href="/workshop/registration/event/view/{{a_event.key}}">{{a_event.title}}</a></li>
 				{% endfor %}
 				</ul>
 			{% endif %}
 		{% else %}
 			Your account is inactive. An activation email has been sent to your email address.<br />
-			<a href="/reg/resend_activation/?email={{user.email}}">Click here</a> to resend the activation email.<br />
+			<a href="/workshop/registration/resend_activation/?email={{user.email}}">Click here</a> to resend the activation email.<br />
 		{% endif %}
 	{% endif %}
 	
 	{% if user.is_staff %}
-		<a href="/reg/event/create">Create an event</a><br />	
+		<a href="/workshop/registration/event/create">Create an event</a><br />	
 	{% endif %}
 {% endblock %}
--- a/templates/list_attendees.html	Fri Apr 16 16:29:00 2010 +0530
+++ b/templates/list_attendees.html	Fri Apr 16 16:37:28 2010 +0530
@@ -1,6 +1,6 @@
 {% extends "base.html" %}
 {% block content %}
-	List of people registered for <a href="/reg/event/view/{{event.key}}">{{event.title}}</a><br /><br />
+	List of people registered for <a href="/workshop/registration/event/view/{{event.key}}">{{event.title}}</a><br /><br />
 	<table cellspacing=5 cellpadding=5>
 	<tr>
 		<td>Name</td>
--- a/templates/list_events.html	Fri Apr 16 16:29:00 2010 +0530
+++ b/templates/list_events.html	Fri Apr 16 16:37:28 2010 +0530
@@ -5,7 +5,7 @@
 		<table cellspacing=5 cellpadding=5>
 		{% for event in ongoing_events %}
 			<tr>
-				<td  align="center"><a href="/reg/event/view/{{event.key}}">{{event.title}} at {{event.venue}}</a></td>
+				<td  align="center"><a href="/workshop/registration/event/view/{{event.key}}">{{event.title}} at {{event.venue}}</a></td>
 				<td>{{event.start_date|date:"d M Y"}} - {{event.stop_date|date:"d M Y"}}</td>
 			</tr>
 		{% endfor %}
@@ -17,7 +17,7 @@
 		<table cellspacing=5 cellpadding=5>
 		{% for event in upcoming_events %}
 			<tr>
-				<td  align="center"><a href="/reg/event/view/{{event.key}}">{{event.title}} at {{event.venue}}</a></td>
+				<td  align="center"><a href="/workshop/registration/event/view/{{event.key}}">{{event.title}} at {{event.venue}}</a></td>
 				<td>{{event.start_date|date:"d M Y"}} - {{event.stop_date|date:"d M Y"}}</td>
 			</tr>
 		{% endfor %}
@@ -31,7 +31,7 @@
 		<table cellspacing=5 cellpadding=5>
 		{% for event in previous_events %}
 			<tr>
-				<td  align="center"><a href="/reg/event/view/{{event.key}}">{{event.title}} at {{event.venue}}</a></td>
+				<td  align="center"><a href="/workshop/registration/event/view/{{event.key}}">{{event.title}} at {{event.venue}}</a></td>
 				<td>{{event.start_date|date:"d M Y"}} - {{event.stop_date|date:"d M Y"}}</td>
 			</tr>
 		{% endfor %}
--- a/templates/list_feedbacks.html	Fri Apr 16 16:29:00 2010 +0530
+++ b/templates/list_feedbacks.html	Fri Apr 16 16:37:28 2010 +0530
@@ -1,6 +1,6 @@
 {% extends "base.html" %}
 {% block content %}
-List of feedbacks submitted for the workshop <a href="/reg/event/view/{{event.key}}">{{event.title}}</a>
+List of feedbacks submitted for the workshop <a href="/workshop/registration/event/view/{{event.key}}">{{event.title}}</a>
 <br />
 {{feeds_list|unordered_list}}
 {% endblock %}
--- a/templates/login.html	Fri Apr 16 16:29:00 2010 +0530
+++ b/templates/login.html	Fri Apr 16 16:37:28 2010 +0530
@@ -4,5 +4,5 @@
 {{ form.as_p }}
 <input type="submit" value="Login">
 </form>
-<a href="/reg/password_reset/">Forgot Password</a>
+<a href="/workshop/registration/password_reset/">Forgot Password</a>
 {% endblock %}
--- a/templates/open_feedback.html	Fri Apr 16 16:29:00 2010 +0530
+++ b/templates/open_feedback.html	Fri Apr 16 16:37:28 2010 +0530
@@ -1,9 +1,9 @@
 {% extends "base.html" %}
 {% block content %}
 	{% if success %}
-		The feedback for day {{day}} of <a href="/reg/event/view/{{event.key}}">{{event.title}}</a> has been opened.<br />
+		The feedback for day {{day}} of <a href="/workshop/registration/event/view/{{event.key}}">{{event.title}}</a> has been opened.<br />
 	{% else %}
-		Select the day of workshop <a href="/reg/event/view/{{event.key}}">{{event.title}}</a> to start accepting feedbacks.
+		Select the day of workshop <a href="/workshop/registration/event/view/{{event.key}}">{{event.title}}</a> to start accepting feedbacks.
 		<form action="" method="post">
 		Day:<br />
 		<select name="day">
--- a/templates/password_change.html	Fri Apr 16 16:29:00 2010 +0530
+++ b/templates/password_change.html	Fri Apr 16 16:37:28 2010 +0530
@@ -1,7 +1,7 @@
 {% extends "base.html" %}
 {% block content %}
 	{% if password_changed %}
-		Your password has been successfully changed. <a href="/reg">Click here</a> to return to home page.
+		Your password has been successfully changed. <a href="/workshop/registration">Click here</a> to return to home page.
 	{% else %}
 		<form action="" method="post">
 		{{form.as_p}}
--- a/templates/password_reset.html	Fri Apr 16 16:29:00 2010 +0530
+++ b/templates/password_reset.html	Fri Apr 16 16:37:28 2010 +0530
@@ -2,7 +2,7 @@
 {% block content %}
 	{% if new_password %}
 		Your password is "{{ new_password }}". This will be sent to your email id when app is on FOSSEE.<br />
-		<a href="/reg">Click here</a> to return to home page.
+		<a href="/workshop/registration">Click here</a> to return to home page.
 	{% else %}
 		<form action="" method="post">
 		{{form.as_p}}
--- a/templates/reg_close.html	Fri Apr 16 16:29:00 2010 +0530
+++ b/templates/reg_close.html	Fri Apr 16 16:37:28 2010 +0530
@@ -1,5 +1,5 @@
 {% extends "base.html" %}
 {% block content %}
 	Registration for {{event.title}} has been successfully closed.<br />
-	<a href="/reg/event/view/{{event.key}}">Click here</a> to return to the event page.
+	<a href="/workshop/registration/event/view/{{event.key}}">Click here</a> to return to the event page.
 {% endblock %}
--- a/templates/show_report.html	Fri Apr 16 16:29:00 2010 +0530
+++ b/templates/show_report.html	Fri Apr 16 16:37:28 2010 +0530
@@ -1,6 +1,6 @@
 {% extends "base.html" %}
 {% block content %}
-Report of the workshop <a href="/reg/event/view/{{event.key}}">{{event.title}}</a> conducted at {{event.venue}}
+Report of the workshop <a href="/workshop/registration/event/view/{{event.key}}">{{event.title}}</a> conducted at {{event.venue}}
 from {{event.start_date|date:"d M Y"}} to {{event.stop_date|date:"d M Y"}}
 <br />
 	{{workshop_report|unordered_list}}
--- a/templates/view_event.html	Fri Apr 16 16:29:00 2010 +0530
+++ b/templates/view_event.html	Fri Apr 16 16:37:28 2010 +0530
@@ -9,10 +9,10 @@
 	{% if event.registration_is_open %}	
 		{% if user.is_authenticated %}
 			{% if not is_attendee %}
-				<a href="/reg/event/register/{{event.key}}">Register for this workshop.</a><br />
+				<a href="/workshop/registration/event/register/{{event.key}}">Register for this workshop.</a><br />
 			{% endif %}	
 		{% else %}
-			<a href="/reg/register/{{event.key}}">Register for this workshop</a>.<br />
+			<a href="/workshop/registration/register/{{event.key}}">Register for this workshop</a>.<br />
 		{% endif %}
 	{% else %}
 		Registration for this workshop is not open at this moment.<br />
@@ -23,26 +23,26 @@
 	{% endif %}
 	<br />
 	{% if is_org %}
-		<a href="/reg/event/attendees/{{event.key}}">View list of people registered for the workshop</a> <br />
+		<a href="/workshop/registration/event/attendees/{{event.key}}">View list of people registered for the workshop</a> <br />
 		<a href="/feedback/list/{{event.key}}">View submitted feedbacks</a><br />
 		<a href="/feedback/report/{{event.key}}">View a report of the workshop</a><br /><br />
 		{% if user.is_staff %}
 			{% if event.registration_is_open %}
-				<a href="/reg/event/registration/close/{{event.key}}">Close registration</a><br />
+				<a href="/workshop/registration/event/registration/close/{{event.key}}">Close registration</a><br />
 			{% else %}
-				<a href="/reg/event/registration/open/{{event.key}}">Open registration</a><br />
+				<a href="/workshop/registration/event/registration/open/{{event.key}}">Open registration</a><br />
 			{% endif %}
 <!--			
 			{% ifequal event.quiz_status "00" %}
-				<a href="/reg/event/quiz/open/{{event.key}}">Click here</a> to open quiz.<br />
+				<a href="/workshop/registration/event/quiz/open/{{event.key}}">Click here</a> to open quiz.<br />
 			{% else %}
-				<a href="/reg/event/registration/close/{{event.key}}">Click here</a> to close the registration.<br />
+				<a href="/workshop/registration/event/registration/close/{{event.key}}">Click here</a> to close the registration.<br />
 			{% endifequal %}
 	-->		
 			{% ifequal event.feedback_status "0" %}
-				<a href="/reg/event/feedback/open/{{event.key}}">Open feedback</a><br />
+				<a href="/workshop/registration/event/feedback/open/{{event.key}}">Open feedback</a><br />
 			{% else %}
-				<a href="/reg/event/feedback/close/{{event.key}}">Close feedback for day {{event.feedback_status}}</a><br />
+				<a href="/workshop/registration/event/feedback/close/{{event.key}}">Close feedback for day {{event.feedback_status}}</a><br />
 			{% endifequal %}
 		{% endif %}
 	{% endif %}
--- a/templates/view_profile.html	Fri Apr 16 16:29:00 2010 +0530
+++ b/templates/view_profile.html	Fri Apr 16 16:37:28 2010 +0530
@@ -1,7 +1,7 @@
 {% extends "base.html" %}
 {% block content %}
-<a href="/reg/profile/edit">Edit Profile</a> | 
-<a href="/reg/password_change">Change Password</a>
+<a href="/workshop/registration/profile/edit">Edit Profile</a> | 
+<a href="/workshop/registration/password_change">Change Password</a>
 <br />
 {{user.first_name}} {{user.last_name}}<br />
 {{user_profile.affiliated_to }}<br />