mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-08 18:04:14 +01:00
3ea7437fa6
Fixes https://github.com/go-gitea/gitea/issues/30005. Regression from https://github.com/go-gitea/gitea/pull/29945. There was only once instance of `tw-content-center` before that PR, so I just ran below command and reverted that one instance. ```sh perl -p -i -e 's#tw-content-center#tw-items-center#g' web_src/js/**/* templates/**/* models/**/* tests/**/* ``` (cherry picked from commit 04f9ad056882fc3f21b247b16f84437adf0f36d8) Conflicts: templates/repo/diff/conversation.tmpl templates/repo/header.tmpl templates/repo/issue/filter_list.tmpl templates/repo/issue/view_content/conversation.tmpl templates/repo/wiki/view.tmpl web_src/js/components/DashboardRepoList.vue re-ran the command after discarding the Gitea changes to ensure all Forgejo files are also covered
32 lines
1.1 KiB
Go HTML Template
32 lines
1.1 KiB
Go HTML Template
{{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 tw-flex tw-items-center" 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 tw-text-center">
|
|
{{.Title}}
|
|
</div>
|
|
<div class="description tw-text-center">
|
|
{{ctx.Locale.Tr (printf "repo.migrate.%s.description" .Name)}}
|
|
</div>
|
|
</div>
|
|
</a>
|
|
{{end}}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{{template "base/footer" .}}
|