We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
add file
1 parent 582dcaa commit 32eaba1Copy full SHA for 32eaba1
templates/repo/home.tmpl
@@ -83,7 +83,7 @@
83
<a href="{{.Repository.Link}}/find/{{.BranchNameSubURL}}" class="ui compact basic button">{{.locale.Tr "repo.find_file.go_to_file"}}</a>
84
{{end}}
85
86
- {{if and .CanWriteCode .IsViewBranch (not .Repository.IsArchived) (not .IsViewFile)}}
+ {{if and .CanWriteCode .IsViewBranch (not .Repository.IsMirror) (not .Repository.IsArchived) (not .IsViewFile)}}
87
<button class="ui dropdown basic compact jump button gt-mr-2"{{if not .Repository.CanEnableEditor}} disabled{{end}}>
88
{{.locale.Tr "repo.editor.add_file"}}
89
{{svg "octicon-triangle-down" 14 "dropdown icon"}}
0 commit comments