Changed the edit-talk link to include params.scope Bug:notified by mateusz/jarrod 2011
authorParth buch <parth.buch.115@gmail.com>
Wed, 02 Nov 2011 23:32:11 +0530
branch2011
changeset 443 7fe2b15ee82f
parent 442 6f06b1457e55
child 444 3c612f342b99
Changed the edit-talk link to include params.scope Bug:notified by mateusz/jarrod
project/templates/user/account.html
--- a/project/templates/user/account.html	Mon Oct 31 09:34:17 2011 +0530
+++ b/project/templates/user/account.html	Wed Nov 02 23:32:11 2011 +0530
@@ -130,7 +130,7 @@
             {% if talk.approved %}
               <span>Accepted</span>
             {% else %}
-              <a href="/edit-talk/{{ talk.id }}/" title="Edit">Edit</a>
+              <a href="/{{ params.scope }}/edit-talk/{{ talk.id }}/" title="Edit">Edit</a>
             {% endif %}
           </td>
         </tr>