gitlab-org--gitlab-foss/app/views/ci/group_variables/_index.html.haml

16 lines
588 B
Plaintext
Raw Normal View History

- variables = @project.group.self_and_ancestors.map(&:variables).flatten
.ci-variable-table
%table.gl-table.gl-w-full.gl-table-layout-fixed
= render 'ci/group_variables/variable_header'
- variables.each do |variable|
%tr
%td.gl-text-truncate
= variable.key
- if Feature.enabled?(:scoped_group_variables, default_enabled: :yaml)
%td.gl-text-truncate
= variable.environment_scope
%td.gl-text-truncate
%a.group-origin-link{ href: group_settings_ci_cd_path(variable.group) }
= variable.group.name