From 80ce6737de989ce098b69764b0e351a4f63538c2 Mon Sep 17 00:00:00 2001 From: Jorran de Wit <jorrandewit@outlook.com> Date: Sun, 10 Sep 2017 17:28:38 +0200 Subject: [PATCH] Fix wrong link reference --- comments/templates/comments/_comment_identifier.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/comments/templates/comments/_comment_identifier.html b/comments/templates/comments/_comment_identifier.html index 9c6b31277..fa6faab3c 100644 --- a/comments/templates/comments/_comment_identifier.html +++ b/comments/templates/comments/_comment_identifier.html @@ -11,9 +11,9 @@ {% if comment|is_reply_to_comment %} - (in reply to <a href="{{comment.get_absolute_url}}">{{comment.content_object.author.user.first_name}} {{comment.content_object.author.user.last_name}}</a> on {{comment.content_object.date_submitted|date:'Y-m-d'}}) + (in reply to <a href="{{comment.content_object.get_absolute_url}}">{{comment.content_object.author.user.first_name}} {{comment.content_object.author.user.last_name}}</a> on {{comment.content_object.date_submitted|date:'Y-m-d'}}) {% elif comment|is_reply_to_report %} - (in reply to <a href="{{comment.get_absolute_url}}"> + (in reply to <a href="{{comment.content_object.get_absolute_url}}"> Report {{comment.content_object.report_nr}} {% if not comment.content_object.anonymous %} -- GitLab