1
0
Fork 0
forked from forgejo/forgejo

Fix disable download button (#20701)

This commit is contained in:
Lunny Xiao 2022-08-08 21:42:36 +08:00 committed by GitHub
parent 68059ab697
commit 98190d0024
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -112,7 +112,7 @@
{{svg "octicon-git-branch"}}
</div>
{{end}}
{{if (not .IsDeleted)}}
{{if and (not .IsDeleted) (not $.DisableDownloadSourceArchives)}}
<div class="ui basic jump dropdown icon button tooltip" data-content="{{$.locale.Tr "repo.branch.download" (.Name)}}" data-position="top right">
{{svg "octicon-download"}}
<div class="menu">