Use `GlModal` in `_protected_tag.html.haml`
requested to merge 344175-replace-data-confirm-modals-with-glmodal-in-app-views-projects-protected_tags-shared into master
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) |
---|---|
How to set up and validate locally
- Enable the
bootstrap_confirmation_modals
feature flag:Feature.enable(:bootstrap_confirmation_modals)
- Login as admin
- Go to any
Project -> Settings -> Repository -> Protected tags
- If there isn't already a protected tag, create one.
- Click on
Unprotect
button against the protected tag. - 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.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #344175 (closed)
Edited by Sharmad Nachnolkar