diff options
Diffstat (limited to 'app/views/projects/boards/components')
-rw-r--r-- | app/views/projects/boards/components/_board.html.haml | 4 | ||||
-rw-r--r-- | app/views/projects/boards/components/_card.html.haml | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/app/views/projects/boards/components/_board.html.haml b/app/views/projects/boards/components/_board.html.haml index 44b17f39b55..31b2305edca 100644 --- a/app/views/projects/boards/components/_board.html.haml +++ b/app/views/projects/boards/components/_board.html.haml @@ -25,6 +25,8 @@ ":issue-link-base" => "'#{namespace_project_issues_path(@project.namespace, @project)}'" } .board-list-loading.text-center{ "v-if" => "loading" } = icon("spinner spin") - %ul.board-list{ "v-el:list" => true, ":data-board" => "boardId" } + %ul.board-list{ "v-el:list" => true, + "v-show" => "!loading", + ":data-board" => "boardId" } = render "projects/boards/components/card" = render "projects/boards/components/blank_state" diff --git a/app/views/projects/boards/components/_card.html.haml b/app/views/projects/boards/components/_card.html.haml index 707559122ef..043a046701d 100644 --- a/app/views/projects/boards/components/_card.html.haml +++ b/app/views/projects/boards/components/_card.html.haml @@ -9,4 +9,4 @@ %span.label.color-label{ "v-for" => "label in issue.labels", ":style" => "{ backgroundColor: label.color, color: label.textColor }" } {{ label.title }} %a{ ":href" => "'/u/' + issue.assignee.username", ":title" => "issue.assignee.name", "v-if" => "issue.assignee" } - %img.card-avatar{ ":src" => "issue.assignee.avatar", width: 20, height: 20 } + %img.avatar.avatar-inline.s20{ ":src" => "issue.assignee.avatar", width: 20, height: 20 } |