diff options
author | Simon Knox <psimyn@gmail.com> | 2017-05-17 19:50:40 +1000 |
---|---|---|
committer | Simon Knox <psimyn@gmail.com> | 2017-05-24 21:19:50 +1000 |
commit | 6b8fac9de471646b36a822e2b18e1b3a97965288 (patch) | |
tree | 1e7621e2b2b76a582187fa75d6cdc943d8077a70 /app/views | |
parent | e07c75513db023672b7042869f46ee35753cfd34 (diff) | |
download | gitlab-ce-32170-assignees-spinner.tar.gz |
add loading spinner to sidebar assignees32170-assignees-spinner
store isFetching state to indicate if assignees has initial data
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/shared/issuable/_sidebar_assignees.html.haml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/shared/issuable/_sidebar_assignees.html.haml b/app/views/shared/issuable/_sidebar_assignees.html.haml index e9ce7b7ce9c..26567c08eb6 100644 --- a/app/views/shared/issuable/_sidebar_assignees.html.haml +++ b/app/views/shared/issuable/_sidebar_assignees.html.haml @@ -1,5 +1,8 @@ - if issuable.is_a?(Issue) #js-vue-sidebar-assignees{ data: { field: "#{issuable.to_ability_name}[assignee_ids]" } } + .title.hide-collapsed + Assignee + = icon('spinner spin') - else .sidebar-collapsed-icon.sidebar-collapsed-user{ data: { toggle: "tooltip", placement: "left", container: "body" }, title: (issuable.assignee.name if issuable.assignee) } - if issuable.assignee |