File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
templates/package/content Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 44 <div class="ui form">
55 <div class="field">
66 <label>{{svg "octicon-terminal"}} {{.locale.Tr "packages.generic.download"}}</label>
7- <div class="markup"><pre class="code-block"><code>curl {{AppUrl}}api/packages/{{.PackageDescriptor.Owner.Name}}/generic/{{.PackageDescriptor.Package.Name}}/{{.PackageDescriptor.Version.Version}}/{{(index .PackageDescriptor.Files 0).File.Name}}</code></pre></div>
7+ <div class="markup"><pre class="code-block"><code>{{range .PackageDescriptor.Files}}curl {{AppUrl}}api/packages/{{$.PackageDescriptor.Owner.Name}}/generic/{{$.PackageDescriptor.Package.Name}}/{{$.PackageDescriptor.Version.Version}}/{{.File.Name}}
8+ {{end}}</code></pre></div>
89 </div>
910 <div class="field">
1011 <label>{{.locale.Tr "packages.generic.documentation" | Safe}}</label>
You can’t perform that action at this time.
0 commit comments