diff options
Diffstat (limited to 'app/views/ci/variables/_index.html.haml')
-rw-r--r-- | app/views/ci/variables/_index.html.haml | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/app/views/ci/variables/_index.html.haml b/app/views/ci/variables/_index.html.haml index 8aaa09b7862..da2c8a71dcd 100644 --- a/app/views/ci/variables/_index.html.haml +++ b/app/views/ci/variables/_index.html.haml @@ -1,12 +1,4 @@ - save_endpoint = local_assigns.fetch(:save_endpoint, nil) - -- if ci_variable_protected_by_default? - = render Pajamas::AlertComponent.new(variant: :warning, show_icon: false, dismissible: false, - alert_options: { class: 'gl-mb-3'}) do |c| - = c.body do - - link_start = '<a href="%{url}">'.html_safe % { url: help_page_path('ci/variables/index', anchor: 'protect-a-cicd-variable') } - = _('Environment variables are configured by your administrator to be %{link_start}protected%{link_end} by default.').html_safe % { link_start: link_start, link_end: '</a>'.html_safe } - - is_group = !@group.nil? - is_project = !@project.nil? |