diff options
author | Phil Hughes <me@iamphill.com> | 2016-08-19 20:23:56 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-08-31 09:47:25 +0100 |
commit | 105c80b6be3ae0bb550f455d0fcb1d4fe34462b5 (patch) | |
tree | 01e152ca5c13e8874e2bb1d3977857a841125401 /app/views/projects | |
parent | 4f341ed85b5fb37250799ec13948bbe88074d376 (diff) | |
download | gitlab-ce-105c80b6be3ae0bb550f455d0fcb1d4fe34462b5.tar.gz |
Shows count at bottom of list
Only visible when scrollable area is larger than height
Diffstat (limited to 'app/views/projects')
-rw-r--r-- | app/views/projects/boards/components/_board.html.haml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/app/views/projects/boards/components/_board.html.haml b/app/views/projects/boards/components/_board.html.haml index 069f8b805bc..73066150fb3 100644 --- a/app/views/projects/boards/components/_board.html.haml +++ b/app/views/projects/boards/components/_board.html.haml @@ -20,7 +20,6 @@ "v-if" => "!list.preset && list.id" } %button.board-delete.has-tooltip.pull-right{ type: "button", title: "Delete list", "aria-label" => "Delete list", data: { placement: "bottom" }, "@click.stop" => "deleteBoard" } = icon("trash") - = icon("spinner spin", class: "board-header-loading-spinner pull-right", "v-show" => "list.loadingMore") %board-list{ "inline-template" => true, "v-if" => "list.type !== 'blank'", ":list" => "list", @@ -34,5 +33,11 @@ "v-show" => "!loading", ":data-board" => "list.id" } = render "projects/boards/components/card" + %li.board-list-count.text-center{ "v-if" => "showCount" } + = icon("spinner spin", "v-show" => "list.loadingMore" ) + %span{ "v-if" => "list.issues.length === list.issuesSize" } + Showing all issues + %span{ "v-else" => true } + Showing {{ list.issues.length }} of {{ list.issuesSize }} issues - if can?(current_user, :admin_list, @project) = render "projects/boards/components/blank_state" |