From 3ace448a2972740773249eea30ac6e994e29a369 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Thu, 10 Aug 2023 15:22:23 +0800 Subject: [PATCH 1/2] Use correct pull request commit link instead of a generic commit link --- templates/repo/commits_list.tmpl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/repo/commits_list.tmpl b/templates/repo/commits_list.tmpl index 9f1d182158dcd..361c5e25ae530 100644 --- a/templates/repo/commits_list.tmpl +++ b/templates/repo/commits_list.tmpl @@ -43,6 +43,8 @@ {{end}} {{if $.PageIsWiki}} + {{else if $.PageIsPullCommits}} + {{else if $.Reponame}} {{else}} From 5c492663d37625aa02df3c93c6722647723bb683 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Thu, 10 Aug 2023 18:21:45 +0800 Subject: [PATCH 2/2] Fix template lint --- templates/repo/commits_list.tmpl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/repo/commits_list.tmpl b/templates/repo/commits_list.tmpl index 361c5e25ae530..b9b42ebb235da 100644 --- a/templates/repo/commits_list.tmpl +++ b/templates/repo/commits_list.tmpl @@ -56,6 +56,8 @@ {{end}} {{if $.PageIsWiki}} + {{else if $.PageIsPullCommits}} + {{else if $.Reponame}} {{else}}