2021-01-03 14:25:43 +05:30
|
|
|
- @gfm_form = true
|
2020-11-24 15:15:51 +05:30
|
|
|
|
|
|
|
- add_to_breadcrumbs s_('FeatureFlags|Feature Flags'), project_feature_flags_path(@project)
|
|
|
|
- breadcrumb_title @feature_flag.name
|
|
|
|
- page_title s_('FeatureFlags|Edit Feature Flag')
|
|
|
|
|
|
|
|
#js-edit-feature-flag{ data: { endpoint: project_feature_flag_path(@project, @feature_flag),
|
|
|
|
project_id: @project.id,
|
|
|
|
feature_flags_path: project_feature_flags_path(@project),
|
|
|
|
environments_endpoint: search_project_environments_path(@project, format: :json),
|
|
|
|
user_callouts_path: user_callouts_path,
|
2021-01-03 14:25:43 +05:30
|
|
|
user_callout_id: UserCalloutsHelper::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-06-08 01:23:25 +05:30
|
|
|
environments_scope_docs_path: help_page_path('ci/environments/index.md', anchor: 'scoping-environments-with-specs'),
|
2020-11-24 15:15:51 +05:30
|
|
|
feature_flag_issues_endpoint: feature_flag_issues_links_endpoint(@project, @feature_flag, current_user) } }
|