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.
This commit is contained in:
parent
ad6d08d155
commit
219c87e7d8
@ -77,7 +77,7 @@
|
|||||||
{{template "repo/diff/stats" dict "file" . "root" $}}
|
{{template "repo/diff/stats" dict "file" . "root" $}}
|
||||||
{{end}}
|
{{end}}
|
||||||
</div>
|
</div>
|
||||||
<span class="file mono"><a href="#diff-{{$nameHash}}">{{if $file.IsRenamed}}{{$file.OldName}} → {{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}} → {{end}}{{$file.Name}}</a>{{if .IsLFSFile}} ({{$.i18n.Tr "repo.stored_lfs"}}){{end}}</span>
|
||||||
{{if $file.IsGenerated}}
|
{{if $file.IsGenerated}}
|
||||||
<span class="ui label ml-3">{{$.i18n.Tr "repo.diff.generated"}}</span>
|
<span class="ui label ml-3">{{$.i18n.Tr "repo.diff.generated"}}</span>
|
||||||
{{end}}
|
{{end}}
|
||||||
|
Loading…
Reference in New Issue
Block a user