Replace `data-confirm` modal with `GlModal` in `app/views/admin/topics/_form.html.haml`

What does this MR do and why?

This MR replaces the topic remove avatar confirm dialog with a gitlab-ui modal.

Screenshots or screen recordings

Before After
Screenshot_2022-03-16_at_15.45.50 Screenshot_2022-03-16_at_15.40.02
Screenshot_2022-03-16_at_15.45.58 Screenshot_2022-03-16_at_15.40.09

How to set up and validate locally

  • Browse to admin > overview > topics
  • Add a topic (if one doesn't exists)
  • Edit the topic
  • Add an avatar
  • Save changes
  • Remove the avatar

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 #344184 (closed)

Edited by Brandon Labuschagne

Merge request reports

Loading