mirror of
https://github.com/go-gitea/gitea.git
synced 2025-09-19 09:40:12 +00:00
Backport #27231 #27259 manually --------- Co-authored-by: delvh <dev.lh@web.de>
This commit is contained in:
@@ -1,17 +1,17 @@
|
||||
<div class="file-info text grey normal gt-mono">
|
||||
{{if .FileIsSymlink}}
|
||||
<div class="file-info-entry">
|
||||
{{.locale.Tr "repo.symbolic_link"}}
|
||||
{{ctx.Locale.Tr "repo.symbolic_link"}}
|
||||
</div>
|
||||
{{end}}
|
||||
{{if .NumLinesSet}}{{/* Explicit attribute needed to show 0 line changes */}}
|
||||
<div class="file-info-entry">
|
||||
{{.NumLines}} {{.locale.TrN .NumLines "repo.line" "repo.lines"}}
|
||||
{{.NumLines}} {{ctx.Locale.TrN .NumLines "repo.line" "repo.lines"}}
|
||||
</div>
|
||||
{{end}}
|
||||
{{if .FileSize}}
|
||||
<div class="file-info-entry">
|
||||
{{FileSize .FileSize}}{{if .IsLFSFile}} ({{.locale.Tr "repo.stored_lfs"}}){{end}}
|
||||
{{FileSize .FileSize}}{{if .IsLFSFile}} ({{ctx.Locale.Tr "repo.stored_lfs"}}){{end}}
|
||||
</div>
|
||||
{{end}}
|
||||
{{if .LFSLock}}
|
||||
@@ -27,7 +27,7 @@
|
||||
{{end}}
|
||||
{{if .IsExecutable}}
|
||||
<div class="file-info-entry">
|
||||
{{.locale.Tr "repo.executable_file"}}
|
||||
{{ctx.Locale.Tr "repo.executable_file"}}
|
||||
</div>
|
||||
{{end}}
|
||||
{{if .ImageSize}}
|
||||
|
Reference in New Issue
Block a user