diff options
author | Alfredo Sumaran <alfredo@gitlab.com> | 2017-06-06 09:01:42 -0500 |
---|---|---|
committer | Alfredo Sumaran <alfredo@gitlab.com> | 2017-06-06 09:01:42 -0500 |
commit | d8403ec18f771c28eb566dc3ce6dc08bffd2db22 (patch) | |
tree | 17760f837a3b35d03026a0943f85be4320fc2a42 /app/views/dashboard | |
parent | 657bc805a4bfee516942a3765eef0a508891a5d7 (diff) | |
download | gitlab-ce-d8403ec18f771c28eb566dc3ce6dc08bffd2db22.tar.gz |
Minor visual adjustments
Diffstat (limited to 'app/views/dashboard')
-rw-r--r-- | app/views/dashboard/groups/_groups.html.haml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/app/views/dashboard/groups/_groups.html.haml b/app/views/dashboard/groups/_groups.html.haml index b72b04479de..ba7e0c21348 100644 --- a/app/views/dashboard/groups/_groups.html.haml +++ b/app/views/dashboard/groups/_groups.html.haml @@ -1,3 +1,9 @@ .js-groups-list-holder #dashboard-group-app{ data: { endpoint: dashboard_groups_path(format: :json), path: dashboard_groups_path } } - %groups-component{ ':groups' => 'state.groups', ':page-info' => 'state.pageInfo' } + .groups-list-loading + = icon('spinner spin', 'v-show' => 'isLoading') + %template{ 'v-if' => '!isLoading && isEmpty' } + %div{ 'v-cloak' => true } + = render 'empty_state' + %template{ 'v-else-if' => '!isLoading && !isEmpty'} + %groups-component{ ':groups' => 'state.groups', ':page-info' => 'state.pageInfo' } |