mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-16 02:03:28 +01:00
d55a0b7238
* Refactor `i18n` to `locale` - Currently we're using the `i18n` variable naming for the `locale` struct. This contains locale's specific information and cannot be used for general i18n purpose, therefore refactoring it to `locale` makes more sense. - Ref: https://github.com/go-gitea/gitea/pull/20096#discussion_r906699200 * Update routers/install/install.go
24 lines
688 B
Go HTML Template
24 lines
688 B
Go HTML Template
{{template "base/head" .}}
|
|
<div class="page-content repository new migrate">
|
|
<div class="ui middle very relaxed page grid">
|
|
<div class="column">
|
|
<div class="ui three stackable cards">
|
|
{{range .Services}}
|
|
<a class="ui card df ac" href="{{AppSubUrl}}/repo/migrate?service_type={{.}}&org={{$.Org}}&mirror={{$.Mirror}}">
|
|
{{svg (Printf "gitea-%s" .Name) 184}}
|
|
<div class="content">
|
|
<div class="header tc">
|
|
{{.Title}}
|
|
</div>
|
|
<div class="description tc">
|
|
{{(Printf "repo.migrate.%s.description" .Name) | $.locale.Tr }}
|
|
</div>
|
|
</div>
|
|
</a>
|
|
{{end}}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{{template "base/footer" .}}
|