src/cm/templates/site/dashboard.html
changeset 144 e7e1bc64f613
parent 116 5ef5e558e361
child 159 4ec5ae89a7b0
--- a/src/cm/templates/site/dashboard.html	Wed Feb 03 20:55:30 2010 +0100
+++ b/src/cm/templates/site/dashboard.html	Wed Feb 03 21:49:04 2010 +0100
@@ -117,14 +117,14 @@
 						<img class="dashlog_img" src="{{ MEDIA_URL }}img/note_error_small.png"/>
 						<span class="dashlog_data">
             	
-		            	{% blocktrans %}comment{% endblocktrans %} <a href="{% url text-view-show-comment comment.text_version.text.key comment.key %}">{{ comment.title }}</a>
+		            	{% blocktrans %}comment{% endblocktrans %} <a href="{% url text-view-show-comment comment.text_version.text.key comment.id_key %}">{{ comment.title }}</a>
 		            	{% blocktrans with comment.user as cuser %}by {{ cuser }} on text{% endblocktrans %} <a href="{% url text-view comment.text_version.text.key %}">{{ comment.text_version.text.title }}</a> {% blocktrans %}awaits approval{% endblocktrans %}<br />
 		            	</span>
 		            	<div style="padding-left:22px;" class="mod_actions">
 <img src="{{ MEDIA_URL }}img/bullet_go_small.png"/>
 
 <a id="comment-approve-{{ comment.key }}" href="#">{% blocktrans %}approve{% endblocktrans %}</a>/<a id="comment-refuse-{{ comment.key }}" href="#">{% blocktrans %}refuse{% endblocktrans %}</a> {% blocktrans %}comment{% endblocktrans %},
-<a href="{% url text-view-show-comment comment.text_version.text.key comment.key %}">{% blocktrans %}view in context{% endblocktrans %}</a>
+<a href="{% url text-view-show-comment comment.text_version.text.key comment.id_key %}">{% blocktrans %}view in context{% endblocktrans %}</a>
 <script type="text/javascript">
 <!--
 $("#comment-approve-{{ comment.key }}").click(function(){