forked from forgejo/forgejo
* added button * got URL params to carry through to service specific migrate pages * do not display add mirror button if mirroring turned off * added corrections by reviewers * Add silverwind's suggestion Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: techknowlogick <techknowlogick@gitea.io> Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: silverwind <me@silverwind.io>
This commit is contained in:
parent
d2ad4dec63
commit
9b11c3e320
4 changed files with 10 additions and 2 deletions
|
@ -5,11 +5,11 @@
|
|||
<div class="ui three stackable cards">
|
||||
{{range .Services}}
|
||||
<div class="ui card">
|
||||
<a class="image" href="{{AppSubUrl}}/repo/migrate?service_type={{.}}">
|
||||
<a class="image" href="{{AppSubUrl}}/repo/migrate?service_type={{.}}&org={{$.Org}}&mirror={{$.Mirror}}">
|
||||
{{svg (Printf "gitea-%s" .Name) 184}}
|
||||
</a>
|
||||
<div class="content">
|
||||
<a class="header" href="{{AppSubUrl}}/repo/migrate?service_type={{.}}">{{.Title}}</a>
|
||||
<a class="header" href="{{AppSubUrl}}/repo/migrate?service_type={{.}}&org={{$.Org}}&mirror={{$.Mirror}}">{{.Title}}</a>
|
||||
<div class="description">
|
||||
{{(Printf "repo.migrate.%s.description" .Name) | $.i18n.Tr }}
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue