corrected the user view url
authorNishanth Amuluru <nishanth@fossee.in>
Tue, 11 Jan 2011 12:36:55 +0530
changeset 379 ed2dadfc829a
parent 378 8fcde6f8f750
child 380 e848bd3ad41f
corrected the user view url
pytask/templates/task/claim.html
pytask/templates/task/view.html
pytask/templates/task/view_textbook.html
--- a/pytask/templates/task/claim.html	Tue Jan 11 12:30:10 2011 +0530
+++ b/pytask/templates/task/claim.html	Tue Jan 11 12:36:55 2011 +0530
@@ -7,7 +7,7 @@
         List of all the claims for the task <a href="/task/view/tid={{task.uniq_key}}">{{task.title}}</a><br />
         {% for claim in old_claims %}
             <hr />
-            <a href="/user/view/uid={{claim.claimed_by.id}}">{{claim.claimed_by.username}}</a>
+            <a href="/profile/user/view/uid={{claim.claimed_by.id}}">{{claim.claimed_by.username}}</a>
             on {{claim.claim_datetime|date:"D d M Y"}} at {{claim.claim_datetime|time:"H:i"}} wrote:<br />
             {{claim.proposal|linebreaksbr}}<br />
         {% endfor %}
--- a/pytask/templates/task/view.html	Tue Jan 11 12:30:10 2011 +0530
+++ b/pytask/templates/task/view.html	Tue Jan 11 12:36:55 2011 +0530
@@ -23,7 +23,7 @@
     {% endif %}
     -->
 
-    <hr />created by <a href="/user/view/uid={{ task.created_by.id }}">{{ task.created_by.username }}</a>
+    <hr />created by <a href="/profile/user/view/uid={{ task.created_by.id }}">{{ task.created_by.username }}</a>
     on {{task.creation_datetime|date:"D d M Y"}} at {{task.creation_datetime|time:"H:i"}}<br />
     
     {% if reviewers %}
@@ -34,7 +34,7 @@
 	    {% endifequal %}
 	    
 	    {% for reviewer in reviewers %}
-		<a href="/user/view/uid={{reviewer.id}}">{{reviewer.username}}</a>
+		<a href="/profile/user/view/uid={{reviewer.id}}">{{reviewer.username}}</a>
 	    {% endfor %}
     {% endif %}
 
@@ -64,13 +64,13 @@
     
     <!--
     {% ifequal task.status "CD" %}
-        Task has been closed by <a href="/user/view={{closing_notification.sent_from.id}}">{{closing_notification.sent_from.username}}</a>
+        Task has been closed by <a href="/profile/user/view={{closing_notification.sent_from.id}}">{{closing_notification.sent_from.username}}</a>
         on {{closing_notification.sent_date|date:"D d M Y"}} at {{closing_notification.sent_date|time:"H:i"}}<br />
         <b>Reason: </b>{{closing_notification.remarks}}<br />
     {% endifequal %}
     
     {% ifequal task.status "CM" %}
-        Task has been marked complete by <a href="/user/view={{completed_notification.sent_from.id}}">
+        Task has been marked complete by <a href="/profile/user/view={{completed_notification.sent_from.id}}">
         {{completed_notification.sent_from.username}}</a>
         on {{completed_notification.sent_date|date:"D d M Y"}} at {{completed_notification.sent_date|time:"H:i"}}<br />
     {% endifequal %}
@@ -87,7 +87,7 @@
     {% if selected_users %}
         Users working on this task:
         {% for user in selected_users %}
-            <a href="/user/view/uid={{user.id}}">{{user.username}}</a>
+            <a href="/profile/user/view/uid={{user.id}}">{{user.username}}</a>
         {% endfor %}
         <br />
     {% endif %}
@@ -108,7 +108,7 @@
     {% if comments %}
         comments:<br /><br />
         {% for comment in comments %}
-            <a href="/user/view/uid={{comment.commented_by.id}}">{{ comment.commented_by.username }}</a> 
+            <a href="/profile/user/view/uid={{comment.commented_by.id}}">{{ comment.commented_by.username }}</a> 
             on {{ comment.comment_datetime|date:"D d M Y"}} at {{comment.comment_datetime|time:"H:i"}} wrote:<br />
         {{ comment.data|linebreaksbr }}<br />
         {% endfor %}
--- a/pytask/templates/task/view_textbook.html	Tue Jan 11 12:30:10 2011 +0530
+++ b/pytask/templates/task/view_textbook.html	Tue Jan 11 12:36:55 2011 +0530
@@ -13,7 +13,7 @@
         <a href="/task/textbook/approve/tid={{textbook.uniq_key}}">Approve Text book</a>
     {% endif %}
 
-    <hr />created by <a href="/user/view/uid={{ textbook.created_by.id }}">{{ textbook.created_by.username }}</a>
+    <hr />created by <a href="/profile/user/view/uid={{ textbook.created_by.id }}">{{ textbook.created_by.username }}</a>
     on {{textbook.creation_datetime|date:"D d M Y"}} at {{textbook.creation_datetime|time:"H:i"}}<br />
     <hr />
     
@@ -46,7 +46,7 @@
     {% if comments %}
         comments:<br /><br />
         {% for comment in comments %}
-            <a href="/user/view/uid={{comment.commented_by.id}}">{{ comment.commented_by.username }}</a> 
+            <a href="/profile/user/view/uid={{comment.commented_by.id}}">{{ comment.commented_by.username }}</a> 
             on {{ comment.comment_datetime|date:"D d M Y"}} at {{comment.comment_datetime|time:"H:i"}} wrote:<br />
         {{ comment.data|linebreaksbr }}<br />
         {% endfor %}