d2958254a0
Remove upstream Gitea update checker, replace all docs.gitea.com references with configurable HelpURL, rebrand default APP_NAME to MokoGitea, enforce dot-prefixed repo privacy at creation time (create, fork, push-create), and add system repo explanation in settings UI. Closes #75, closes #76 Authored-by: Moko Consulting Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
19 lines
800 B
Handlebars
19 lines
800 B
Handlebars
{{if eq .PackageDescriptor.Package.Type "generic"}}
|
|
<h4 class="ui top attached header">{{ctx.Locale.Tr "packages.installation"}}</h4>
|
|
<div class="ui attached segment">
|
|
<div class="ui form">
|
|
<div class="field">
|
|
<label>{{svg "octicon-terminal"}} {{ctx.Locale.Tr "packages.generic.download"}}</label>
|
|
<div class="markup"><pre class="code-block"><code>
|
|
{{- range .PackageDescriptor.Files -}}
|
|
curl -OJ {{ctx.AppFullLink}}/api/packages/{{$.PackageDescriptor.Owner.Name}}/generic/{{$.PackageDescriptor.Package.Name}}/{{$.PackageDescriptor.Version.Version}}/{{.File.Name}}
|
|
{{end -}}
|
|
</code></pre></div>
|
|
</div>
|
|
<div class="field">
|
|
<label>{{ctx.Locale.Tr "packages.registry.documentation" "Generic" "{{HelpURL}}/usage/packages/generic"}}</label>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{{end}}
|