mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-06 03:52:36 +02:00
Show in Web UI if file is vendored and generated (#28620)
This simple shows in the Web UI is a file is vendored and/or generated.   --------- Co-authored-by: delvh <dev.lh@web.de> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
3 files changed
+27
No files matched your search
@@ -30,6 +30,16 @@
|
||||
{{ctx.Locale.Tr "repo.executable_file"}}
|
||||
</div>
|
||||
{{end}}
|
||||
{{if .IsVendored}}
|
||||
<div class="file-info-entry">
|
||||
{{ctx.Locale.Tr "repo.vendored"}}
|
||||
</div>
|
||||
{{end}}
|
||||
{{if .IsGenerated}}
|
||||
<div class="file-info-entry">
|
||||
{{ctx.Locale.Tr "repo.generated"}}
|
||||
</div>
|
||||
{{end}}
|
||||
{{if .ImageSize}}
|
||||
<div class="file-info-entry">
|
||||
{{.ImageSize}}
|
||||
|
||||
Reference in new issue
Block a user