debian-mirror-gitlab/app/views/ci/variables/_index.html.haml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
1.4 KiB
Text
Raw Normal View History

2018-03-17 18:26:18 +05:30
- save_endpoint = local_assigns.fetch(:save_endpoint, nil)
2021-01-29 00:20:46 +05:30
- is_group = !@group.nil?
2022-08-27 11:52:29 +05:30
- is_project = !@project.nil?
2018-03-17 18:26:18 +05:30
2023-01-13 00:05:48 +05:30
#js-ci-variables{ data: { endpoint: save_endpoint,
2022-08-27 11:52:29 +05:30
is_project: is_project.to_s,
2021-01-29 00:20:46 +05:30
project_id: @project&.id || '',
2022-08-27 11:52:29 +05:30
project_full_path: @project&.full_path || '',
is_group: is_group.to_s,
group_id: @group&.id || '',
group_path: @group&.full_path,
2023-04-23 21:23:45 +05:30
maskable_raw_regex: ci_variable_maskable_raw_regex,
2021-01-29 00:20:46 +05:30
maskable_regex: ci_variable_maskable_regex,
protected_by_default: ci_variable_protected_by_default?.to_s,
aws_logo_svg_path: image_path('aws_logo.svg'),
2022-07-23 23:45:48 +05:30
aws_tip_deploy_link: help_page_path('ci/cloud_deployment/index.md', anchor: 'deploy-your-application-to-ecs'),
aws_tip_commands_link: help_page_path('ci/cloud_deployment/index.md', anchor: 'use-an-image-to-run-aws-commands'),
aws_tip_learn_link: help_page_path('ci/cloud_deployment/index.md'),
2023-03-17 16:20:25 +05:30
contains_variable_reference_link: help_page_path('ci/variables/index', anchor: 'prevent-cicd-variable-expansion'),
2021-09-30 23:02:18 +05:30
masked_environment_variables_link: help_page_path('ci/variables/index', anchor: 'mask-a-cicd-variable'),
2023-03-17 16:20:25 +05:30
environment_scope_link: help_page_path('ci/environments/index', anchor: 'limit-the-environment-scope-of-a-cicd-variable') } }
2020-04-08 14:13:33 +05:30
- if !@group && @project.group
2021-03-08 18:12:59 +05:30
.settings-header.border-top.gl-mt-6
2020-04-08 14:13:33 +05:30
= render 'ci/group_variables/header'
.settings-content.pr-0
= render 'ci/group_variables/index'