debian-mirror-gitlab/app/views/import/_githubish_status.html.haml

16 lines
1 KiB
Text
Raw Normal View History

2017-08-17 22:00:37 +05:30
- provider = local_assigns.fetch(:provider)
2020-06-23 00:09:42 +05:30
- extra_data = local_assigns.fetch(:extra_data, {})
- filterable = local_assigns.fetch(:filterable, true)
2020-10-24 23:57:45 +05:30
- paginatable = local_assigns.fetch(:paginatable, false)
2017-08-17 22:00:37 +05:30
- provider_title = Gitlab::ImportSources.title(provider)
2019-07-07 11:18:12 +05:30
#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,
2020-10-24 23:57:45 +05:30
namespaces_path: import_available_namespaces_path,
2019-07-07 11:18:12 +05:30
repos_path: url_for([:status, :import, provider, format: :json]),
jobs_path: url_for([:realtime_changes, :import, provider, format: :json]),
2020-06-23 00:09:42 +05:30
import_path: url_for([:import, provider, format: :json]),
2020-10-24 23:57:45 +05:30
filterable: filterable.to_s,
paginatable: paginatable.to_s }.merge(extra_data) }