Skip to content

Use `GlModal` in `_protected_tag.html.haml`

What does this MR do and why?

Update the confirmation button variant to danger and its label to Unprotect tag on unprotect tag confirmation modal.

Screenshots or screen recordings

Before FF After FF (with danger variant and label update)
Before after

How to set up and validate locally

  1. Enable the bootstrap_confirmation_modals feature flag: Feature.enable(:bootstrap_confirmation_modals)
  2. Login as admin
  3. Go to any Project -> Settings -> Repository -> Protected tags
  4. If there isn't already a protected tag, create one.
  5. Click on Unprotect button against the protected tag.
  6. Modal should be shown as per screenshots.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #344175 (closed)

Edited by Sharmad Nachnolkar

Merge request reports

Loading