From b1fa8ce1fec506f41fbb39c81adf53be936823e1 Mon Sep 17 00:00:00 2001 From: Tim Landscheidt Date: Mar 15 2019 22:53:32 +0000 Subject: Add missing "line" in comments links When a user comments on a specific line of a pull request's file, Pagure describes that à la "$user commented on 31 of Makefile 2 months ago" with "31" referring to the line number. Prior to commit 1fa495df2d8ddc7094af4f5194db9ba3450b3d67, this would have read "$user commented on line 31 of Makefile 2 months ago". This commit restores that syntax. --- diff --git a/pagure/templates/_formhelper.html b/pagure/templates/_formhelper.html index 671eed8..cd07176 100644 --- a/pagure/templates/_formhelper.html +++ b/pagure/templates/_formhelper.html @@ -129,7 +129,7 @@ comment.date_created | format_datetime }}">commented {% if PRinline %} - on {{ comment.line }} of {{ comment.filename }} {% endif %}