diff options
Diffstat (limited to 'app/views/projects/blob/edit.html.haml')
-rw-r--r-- | app/views/projects/blob/edit.html.haml | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/app/views/projects/blob/edit.html.haml b/app/views/projects/blob/edit.html.haml index 773137ff3f2..aefa4a41ab5 100644 --- a/app/views/projects/blob/edit.html.haml +++ b/app/views/projects/blob/edit.html.haml @@ -4,10 +4,9 @@ - webpack_preload_asset_tag('monaco') - if @conflict - = render 'shared/global_alert', - alert_class: 'gl-mb-5 gl-mt-5', + = render Pajamas::AlertComponent.new(alert_class: 'gl-mb-5 gl-mt-5', variant: :danger, - dismissible: false do + dismissible: false) do - blob_url = project_blob_path(@project, @id) - external_link_icon = content_tag 'span', { aria: { label: _('Opens new window') }} do - sprite_icon('external-link', css_class: 'gl-icon').html_safe |