From 219c87e7d889f5c62097968e5ec8ad04f244cd3c Mon Sep 17 00:00:00 2001 From: silverwind Date: Fri, 29 Apr 2022 16:39:27 +0200 Subject: [PATCH] Mute link in diff header (#19556) Followup to https://github.com/go-gitea/gitea/pull/19534. Make the link render in color only on hover. --- templates/repo/diff/box.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/repo/diff/box.tmpl b/templates/repo/diff/box.tmpl index c3af6bbd11..6f67f36422 100644 --- a/templates/repo/diff/box.tmpl +++ b/templates/repo/diff/box.tmpl @@ -77,7 +77,7 @@ {{template "repo/diff/stats" dict "file" . "root" $}} {{end}} - {{if $file.IsRenamed}}{{$file.OldName}} → {{end}}{{$file.Name}}{{if .IsLFSFile}} ({{$.i18n.Tr "repo.stored_lfs"}}){{end}} + {{if $file.IsRenamed}}{{$file.OldName}} → {{end}}{{$file.Name}}{{if .IsLFSFile}} ({{$.i18n.Tr "repo.stored_lfs"}}){{end}} {{if $file.IsGenerated}} {{$.i18n.Tr "repo.diff.generated"}} {{end}}