[openSUSE/open-build-service] 0c3ee4: Remove and replace .badge modifier classes with ba...
Branch: refs/heads/depfu/update/srcapi/popper_js-2.8.6 Home: https://github.com/openSUSE/open-build-service Commit: 0c3ee4592e0654184d19210f7dd85035255fd6e6 https://github.com/openSUSE/open-build-service/commit/0c3ee4592e0654184d1921... Author: Dany Marcoux <dmarcoux@posteo.de> Date: 2021-03-29 (Mon, 29 Mar 2021) Changed paths: M src/api/app/assets/stylesheets/webui/patchinfo.scss M src/api/app/assets/stylesheets/webui/staging-workflow.scss M src/api/app/datatables/package_datatable.rb M src/api/app/views/layouts/webui/_top_navigation.html.haml M src/api/app/views/layouts/webui/_unread_notifications_counter.html.haml M src/api/app/views/webui/groups/show.html.haml M src/api/app/views/webui/package/revisions.html.haml M src/api/app/views/webui/package/show.html.haml M src/api/app/views/webui/patchinfo/show.html.haml M src/api/app/views/webui/project/show.html.haml M src/api/app/views/webui/projects/maintenance_incidents/index.html.haml M src/api/app/views/webui/repositories/_repository_entry.html.haml M src/api/app/views/webui/request/_request_comments.html.haml M src/api/app/views/webui/staging/workflows/_overall_state.html.haml M src/api/app/views/webui/user/_info.html.haml M src/api/app/views/webui/user/_tabs_profile.html.haml M src/api/app/views/webui/user/user_profile_redesign/_basic_info.html.haml M src/api/app/views/webui/user/user_profile_redesign/_edit_account_form.html.haml M src/api/app/views/webui/user/user_profile_redesign/_info.html.haml M src/api/app/views/webui/user/user_profile_redesign/_involvement.html.haml M src/api/app/views/webui/users/tasks/index.html.haml M src/api/spec/features/webui/requests_spec.rb M src/api/vendor/assets/stylesheets/tokenfield.scss Log Message: ----------- Remove and replace .badge modifier classes with background utility classes Done with the following GNU sed commands: sed -i -E "s/(\.| )badge-(primary|secondary|success|danger|warning|info|light|dark)/\1bg-\2/g" **/*.html.haml sed -i -E "s/(\.| )badge-(primary|secondary|success|danger|warning|info|light|dark)/\1bg-\2/g" **/*.rb For changes in the Sass files, I had to manually do them. As documented upstream in the migration guide:
Removed and replaced .badge modifier classes with background utility classes (e.g., use .bg-primary instead of .badge-primary)
participants (1)
-
Dany Marcoux