summaryrefslogtreecommitdiffstats
path: root/templates/repo
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2022-04-29 16:39:27 +0200
committerGitHub <noreply@github.com>2022-04-29 17:39:27 +0300
commit219c87e7d889f5c62097968e5ec8ad04f244cd3c (patch)
tree15d967aae2649c75095cd7e9cc76a289fcc903bb /templates/repo
parentad6d08d155c67d6d3833d2961ed0fd5a2ba1ff88 (diff)
downloadgitea-219c87e7d889f5c62097968e5ec8ad04f244cd3c.tar.gz
gitea-219c87e7d889f5c62097968e5ec8ad04f244cd3c.zip
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.
Diffstat (limited to 'templates/repo')
-rw-r--r--templates/repo/diff/box.tmpl2
1 files changed, 1 insertions, 1 deletions
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}}
</div>
- <span class="file mono"><a href="#diff-{{$nameHash}}">{{if $file.IsRenamed}}{{$file.OldName}} &rarr; {{end}}{{$file.Name}}</a>{{if .IsLFSFile}} ({{$.i18n.Tr "repo.stored_lfs"}}){{end}}</span>
+ <span class="file mono"><a class="muted" href="#diff-{{$nameHash}}">{{if $file.IsRenamed}}{{$file.OldName}} &rarr; {{end}}{{$file.Name}}</a>{{if .IsLFSFile}} ({{$.i18n.Tr "repo.stored_lfs"}}){{end}}</span>
{{if $file.IsGenerated}}
<span class="ui label ml-3">{{$.i18n.Tr "repo.diff.generated"}}</span>
{{end}}