From db73904e7062d9442ddad577be09965dad2e2826 Mon Sep 17 00:00:00 2001 From: wxiaoguang Date: Fri, 5 Apr 2024 22:59:45 +0800 Subject: [PATCH] Revert "Show View at this point in history for every commit (#29122)" --- templates/repo/commits_list.tmpl | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/templates/repo/commits_list.tmpl b/templates/repo/commits_list.tmpl index 53052333fa0e..d50b6aedb9fa 100644 --- a/templates/repo/commits_list.tmpl +++ b/templates/repo/commits_list.tmpl @@ -78,12 +78,9 @@ {{end}} - - {{svg "octicon-file-code"}} - + {{if $.FileName}}{{/* this "view" link is for file only. the commit link is already in the second column */}} + {{svg "octicon-file-code"}} + {{end}} {{end}}