1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

Show if File is Executable (#25287)

This simply shows if a File has the executable Permission


![grafik](https://github.com/go-gitea/gitea/assets/15185051/1d50c105-6d55-4ecc-808a-c9cd5559d238)

---------

Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Giteabot <teabot@gitea.io>
This commit is contained in:
JakobDev
2023-06-16 07:46:12 +02:00
committed by GitHub
parent bc51e259d6
commit a305c37e62
3 changed files with 7 additions and 0 deletions

View File

@@ -25,4 +25,9 @@
{{.LexerName}}
</div>
{{end}}
{{if .IsExecutable}}
<div class="file-info-entry">
{{.locale.Tr "repo.executable_file"}}
</div>
{{end}}
</div>