mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
Fix disable download button (#20701)
This commit is contained in:
@@ -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">
|
||||
|
Reference in New Issue
Block a user