Commit e0068324 authored by Phil Hughes's avatar Phil Hughes

Merge branch '233690-replace-bootstrap-alerts-app/views/projects/blob/edit.html.haml' into 'master'

Replace bootstrap alerts in app/.../edit.html.haml

Closes #233690

See merge request gitlab-org/gitlab!41298
parents 69d76fdd 09bef317
...@@ -2,9 +2,11 @@ ...@@ -2,9 +2,11 @@
- page_title _("Edit"), @blob.path, @ref - page_title _("Edit"), @blob.path, @ref
- if @conflict - if @conflict
.alert.alert-danger .gl-alert.gl-alert-danger.gl-mb-5.gl-mt-5
= sprite_icon('error', size: 16, css_class: 'gl-icon gl-alert-icon gl-alert-icon-no-title')
.gl-alert-body
Someone edited the file the same time you did. Please check out Someone edited the file the same time you did. Please check out
= link_to "the file", project_blob_path(@project, tree_join(@branch_name, @file_path)), target: "_blank", rel: 'noopener noreferrer' = link_to "the file", project_blob_path(@project, tree_join(@branch_name, @file_path)), target: "_blank", rel: 'noopener noreferrer', class: 'gl-link'
and make sure your changes will not unintentionally remove theirs. and make sure your changes will not unintentionally remove theirs.
- if editing_ci_config? && show_web_ide_alert? - if editing_ci_config? && show_web_ide_alert?
......
---
title: Replace bootstrap alerts in app/views/projects/blob/edit.html.haml
merge_request: 41298
author: Gilang Gumilar
type: changed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment