Convert flash messages in /projects/settings/ci_cd_controller.rb to toasts and alerts
The following flash messages from /app/controllers/projects/settings/ci_cd_controller.rb
should be converted into toasts and information alerts
Toasts
flash[:success] = "A new Auto DevOps pipeline has been created, go to <a href=\"#{project_pipelines_path(@project)}\">Pipelines page</a> for details".html_safe
flash[:notice] = _("Pipelines settings for '%{project_name}' were successfully updated.") % { project_name: @project.name
flash[:notice] = _('New runners registration token has been generated!')
Alert (information)
flash[:warning] = _("This repository is currently empty. A new Auto DevOps pipeline will be created after a new file has been pushed to a branch.")
Edited by Annabel Dunstone Gray