Skip to content

Upgrades all the buttons in the admin dir

Sam Beckham requested to merge admin-regex-button-update into master

What does this MR do?

This MR uses the following Regex to add the appropriate gitlab ui button classes to a good chunk of the old buttons in the app/views/admin/ directory (excluding the application settings as this is handled in !44989 (merged)):

File Find Replace
app/views/admin/**/*.haml (^(?!.*gl-button).*class:.*)btn (.*$) $1gl-button btn $2

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Note: This has not been manually tested for every button. It's a low-impact change and there's another few hundred to get through. Checking them all would take forever.

Edited by Sam Beckham

Merge request reports

Loading