summaryrefslogtreecommitdiff
path: root/app/views/import/_githubish_status.html.haml
blob: b05c039c85c09efe1d0db7433a86a0d0f3c6af40 (plain)
1
2
3
4
5
6
7
8
9
- provider = local_assigns.fetch(:provider)
- provider_title = Gitlab::ImportSources.title(provider)

#import-projects-mount-element{ data: { provider: provider, provider_title: provider_title,
                               can_select_namespace: current_user.can_select_namespace?.to_s,
                               ci_cd_only: has_ci_cd_only_params?.to_s,
                               repos_path: url_for([:status, :import, provider, format: :json]),
                               jobs_path: url_for([:realtime_changes, :import, provider, format: :json]),
                               import_path: url_for([:import, provider, format: :json]) } }