From d370ef33abc15d58bf180e02b5346cab68cff950 Mon Sep 17 00:00:00 2001 From: Noelle Leigh Date: Tue, 13 Jul 2021 07:01:43 -0400 Subject: [PATCH] Fix link from commit to view commit in log If a commit is old enough, it won't appear on the first page of the git log, which means that the anchor in the URL won't work. This change makes it so that the link always goes to a log page where the commit is visible. Note: This same change will fix the same issue for links on the log page. --- gitsrht/templates/utils.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitsrht/templates/utils.html b/gitsrht/templates/utils.html index 7618a3f..da31c45 100644 --- a/gitsrht/templates/utils.html +++ b/gitsrht/templates/utils.html @@ -103,7 +103,7 @@ endif %}{% endfor %} {{ commit_time(c) | date }} -- 2.38.4