summaryrefslogtreecommitdiff
path: root/app/views/dashboard
diff options
context:
space:
mode:
authorAlfredo Sumaran <alfredo@gitlab.com>2017-06-06 09:01:42 -0500
committerAlfredo Sumaran <alfredo@gitlab.com>2017-06-06 09:01:42 -0500
commitd8403ec18f771c28eb566dc3ce6dc08bffd2db22 (patch)
tree17760f837a3b35d03026a0943f85be4320fc2a42 /app/views/dashboard
parent657bc805a4bfee516942a3765eef0a508891a5d7 (diff)
downloadgitlab-ce-d8403ec18f771c28eb566dc3ce6dc08bffd2db22.tar.gz
Minor visual adjustments
Diffstat (limited to 'app/views/dashboard')
-rw-r--r--app/views/dashboard/groups/_groups.html.haml8
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' }