mirror of
https://github.com/go-gitea/gitea
synced 2024-12-23 17:14:27 +00:00
da6df0d063
Fixes: https://github.com/go-gitea/gitea/issues/25462 On supporting browsers, text in description is [wrapped equally](https://caniuse.com/css-text-wrap-balance). <img width="488" alt="Screenshot 2023-06-26 at 00 17 21" src="https://github.com/go-gitea/gitea/assets/115237/cb8e3a50-6225-4a8c-a6c0-f35a17d2af76"> <img width="1254" alt="Screenshot 2023-06-26 at 00 14 51" src="https://github.com/go-gitea/gitea/assets/115237/0885404e-973e-45ce-b41e-5cb265a4cd1e">
33 lines
1.0 KiB
Handlebars
33 lines
1.0 KiB
Handlebars
{{template "base/head" .}}
|
|
<div role="main" aria-label="{{.Title}}" class="page-content repository new migrate">
|
|
<div class="ui middle very relaxed page grid">
|
|
<div class="column">
|
|
{{template "repo/migrate/helper" .}}
|
|
<div class="ui cards migrate-entries">
|
|
{{range .Services}}
|
|
<a class="ui card migrate-entry gt-df gt-ac" href="{{AppSubUrl}}/repo/migrate?service_type={{.}}&org={{$.Org}}&mirror={{$.Mirror}}">
|
|
{{if eq .Name "github"}}
|
|
{{svg "octicon-mark-github" 184 "gt-p-4"}}
|
|
{{else if eq .Name "gitlab"}}
|
|
{{svg "gitea-gitlab" 184 "gt-p-4"}}
|
|
{{else if eq .Name "gitbucket"}}
|
|
{{svg "gitea-gitbucket" 184 "gt-p-4"}}
|
|
{{else}}
|
|
{{svg (printf "gitea-%s" .Name) 184}}
|
|
{{end}}
|
|
<div class="content">
|
|
<div class="header gt-tc">
|
|
{{.Title}}
|
|
</div>
|
|
<div class="description gt-tc">
|
|
{{(printf "repo.migrate.%s.description" .Name) | $.locale.Tr}}
|
|
</div>
|
|
</div>
|
|
</a>
|
|
{{end}}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{{template "base/footer" .}}
|