You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
712 B
14 lines
712 B
{{if eq .PackageDescriptor.Package.Type "generic"}}
|
|
<h4 class="ui top attached header">{{.locale.Tr "packages.installation"}}</h4>
|
|
<div class="ui attached segment">
|
|
<div class="ui form">
|
|
<div class="field">
|
|
<label>{{svg "octicon-terminal"}} {{.locale.Tr "packages.generic.download"}}</label>
|
|
<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>
|
|
</div>
|
|
<div class="field">
|
|
<label>{{.locale.Tr "packages.generic.documentation" | Safe}}</label>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{{end}}
|
|
|