Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_model_version_conflict.html.haml « shared « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8ab821c043588a9f34c6e3769aa80d9898d50247 (plain)
1
2
3
4
5
6
= render Pajamas::AlertComponent.new(variant: :danger,
  dismissible: false,
  alert_options: { class: 'gl-mb-5' }) do |c|
  - c.with_body do
    - link_to_model = link_to(model_name, link_path, target: '_blank', rel: 'noopener noreferrer')
    = _("Someone edited this %{model_name} at the same time you did. Please check out the %{link_to_model} and make sure your changes will not unintentionally remove theirs.").html_safe % { model_name: model_name, link_to_model: link_to_model }