aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Browning <ayleph@thisshitistemp.com>2016-03-02 12:43:53 -0500
committerAndrew Browning <ayleph@thisshitistemp.com>2016-03-02 12:45:07 -0500
commit690597ef83ed70bb23dde15659464535f91b5b2a (patch)
tree9fde937420caab805589273d5ac2737134e39f8f
parent289826dc46b0399ff993a53ac85545e5096b0dc7 (diff)
downloadmediagoblin-690597ef83ed70bb23dde15659464535f91b5b2a.tar.lz
mediagoblin-690597ef83ed70bb23dde15659464535f91b5b2a.tar.xz
mediagoblin-690597ef83ed70bb23dde15659464535f91b5b2a.zip
Fix #5432 - Comment report link doens't work
This builds on work done for #5376 and associates the correct comment ID with comment report links.
-rw-r--r--mediagoblin/templates/mediagoblin/user_pages/media.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/mediagoblin/templates/mediagoblin/user_pages/media.html b/mediagoblin/templates/mediagoblin/user_pages/media.html
index 48a91ab7..ed3d1842 100644
--- a/mediagoblin/templates/mediagoblin/user_pages/media.html
+++ b/mediagoblin/templates/mediagoblin/user_pages/media.html
@@ -160,7 +160,7 @@
<a href="{{ request.urlgen('mediagoblin.user_pages.media_home.report_comment',
user=media.get_actor.username,
media=media.slug_or_id,
- comment=comment_object.id) }}">
+ comment=comment.id) }}">
{% trans %}Report{% endtrans %}</a>
{% endif %}
</div>