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>
15 lines
714 B
Handlebars
15 lines
714 B
Handlebars
{{if eq .PackageDescriptor.Package.Type "go"}}
|
|
<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.go.install"}}</label>
|
|
<div class="markup"><pre class="code-block"><code>GOPROXY={{ctx.AppFullLink}}/api/packages/{{$.PackageDescriptor.Owner.Name}}/go go install {{$.PackageDescriptor.Package.Name}}@{{$.PackageDescriptor.Version.Version}}</code></pre></div>
|
|
</div>
|
|
<div class="field">
|
|
<label>{{ctx.Locale.Tr "packages.registry.documentation" "Go" "{{HelpURL}}/usage/packages/go"}}</label>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{{end}}
|