debian-mirror-gitlab/app/views/projects/feature_flags/new.html.haml

15 lines
1 KiB
Text
Raw Normal View History

2020-11-24 15:15:51 +05:30
- @breadcrumb_link = new_project_feature_flag_path(@project)
- add_to_breadcrumbs s_('FeatureFlags|Feature Flags'), project_feature_flags_path(@project)
- breadcrumb_title s_('FeatureFlags|New')
- page_title s_('FeatureFlags|New Feature Flag')
#js-new-feature-flag{ data: { endpoint: project_feature_flags_path(@project, format: :json),
feature_flags_path: project_feature_flags_path(@project),
environments_endpoint: search_project_environments_path(@project, format: :json),
2022-01-26 12:08:38 +05:30
user_callouts_path: callouts_path,
user_callout_id: Users::CalloutsHelper::FEATURE_FLAGS_NEW_VERSION,
2020-11-24 15:15:51 +05:30
show_user_callout: show_feature_flags_new_version?.to_s,
strategy_type_docs_page_path: help_page_path('operations/feature_flags', anchor: 'feature-flag-strategies'),
2021-10-27 15:23:28 +05:30
environments_scope_docs_path: help_page_path('ci/environments/index.md', anchor: 'scope-environments-with-specs'),
2020-11-24 15:15:51 +05:30
project_id: @project.id } }