Commit 3967d371 authored by Brandon Labuschagne's avatar Brandon Labuschagne Committed by Miguel Rincon

Migrate fa-spinner to spinner

Migrate the old fa spinner icons to the newer
spinner classes or gitlab-ui gl-loading-icon
component
parent fdaeabef
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
- else - else
.boards-list.w-100.py-3.px-2.text-nowrap{ data: { qa_selector: "boards_list" } } .boards-list.w-100.py-3.px-2.text-nowrap{ data: { qa_selector: "boards_list" } }
.boards-app-loading.w-100.text-center{ "v-if" => "loading" } .boards-app-loading.w-100.text-center{ "v-if" => "loading" }
= icon("spinner spin 2x") = loading_icon(css_class: 'gl-mb-3')
%board{ "v-cloak" => "true", %board{ "v-cloak" => "true",
"v-for" => "list in state.lists", "v-for" => "list in state.lists",
"ref" => "board", "ref" => "board",
......
.block.due_date .block.due_date
.title .title.gl-h-5.gl-display-flex.gl-align-items-center
= _("Due date") = _("Due date")
- if can_admin_issue? - if can_admin_issue?
= icon("spinner spin", class: "block-loading") = loading_icon(css_class: 'gl-ml-2 block-loading')
= link_to _("Edit"), "#", class: "js-sidebar-dropdown-toggle edit-link float-right" = link_to _("Edit"), "#", class: "js-sidebar-dropdown-toggle edit-link gl-ml-auto"
.value .value
.value-content .value-content
%span.no-value{ "v-if" => "!issue.dueDate" } %span.no-value{ "v-if" => "!issue.dueDate" }
......
.block.labels .block.labels
.title .title.gl-h-5.gl-display-flex.gl-align-items-center
= _("Labels") = _("Labels")
- if can_admin_issue? - if can_admin_issue?
= icon("spinner spin", class: "block-loading") = loading_icon(css_class: 'gl-ml-2 block-loading')
= link_to _("Edit"), "#", class: "js-sidebar-dropdown-toggle edit-link float-right" = link_to _("Edit"), "#", class: "js-sidebar-dropdown-toggle edit-link gl-ml-auto"
.value.issuable-show-labels.dont-hide .value.issuable-show-labels.dont-hide
%span.no-value{ "v-if" => "issue.labels && issue.labels.length === 0" } %span.no-value{ "v-if" => "issue.labels && issue.labels.length === 0" }
= _("None") = _("None")
......
.block.milestone .block.milestone
.title .title.gl-h-5.gl-display-flex.gl-align-items-center
= _("Milestone") = _("Milestone")
- if can_admin_issue? - if can_admin_issue?
= icon("spinner spin", class: "block-loading") = loading_icon(css_class: 'gl-ml-2 block-loading')
= link_to _("Edit"), "#", class: "js-sidebar-dropdown-toggle edit-link float-right" = link_to _("Edit"), "#", class: "js-sidebar-dropdown-toggle edit-link gl-ml-auto"
.value .value
%span.no-value{ "v-if" => "!issue.milestone" } %span.no-value{ "v-if" => "!issue.milestone" }
= _("None") = _("None")
......
---
title: Migrate '.fa-spinner' to `gl-loading-icon` within shared boards haml
merge_request: 36436
author:
type: changed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment