File: new.html.haml

package info (click to toggle)
gitlab 17.6.5-19
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 629,368 kB
  • sloc: ruby: 1,915,304; javascript: 557,307; sql: 60,639; xml: 6,509; sh: 4,567; makefile: 1,239; python: 406
file content (14 lines) | stat: -rw-r--r-- 1,077 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
- @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),
                     user_callouts_path: callouts_path,
                     user_callout_id: Users::CalloutsHelper::FEATURE_FLAGS_NEW_VERSION,
                     show_user_callout: show_feature_flags_new_version?.to_s,
                     strategy_type_docs_page_path: help_page_path('operations/feature_flags.md', anchor: 'feature-flag-strategies'),
                     environments_scope_docs_path: help_page_path('ci/environments/index.md', anchor: 'limit-the-environment-scope-of-a-cicd-variable'),
                     project_id: @project.id } }