diff options
author | Phil Hughes <me@iamphill.com> | 2016-11-16 13:04:29 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-11-16 13:04:29 +0000 |
commit | 02a2f3138d51f6f2dc1555f8aa3e802e1a5404de (patch) | |
tree | 6a374d7133e8ddea90ea72f5c8516fc291c0ef06 | |
parent | cfcf5460b55c8f6245dd59e4531cd4b3b7abf114 (diff) | |
download | gitlab-ce-02a2f3138d51f6f2dc1555f8aa3e802e1a5404de.tar.gz |
Fixed issue boards counter border when unauthorizedissue-boards-counter-border-fix
When unauthorized the border on the counter in issue boards didn't span the whole way around
Closes #23664
-rw-r--r-- | app/views/projects/boards/components/_board.html.haml | 2 | ||||
-rw-r--r-- | changelogs/unreleased/issue-boards-counter-border-fix.yml | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/app/views/projects/boards/components/_board.html.haml b/app/views/projects/boards/components/_board.html.haml index 47165c70097..a2e5118a9f3 100644 --- a/app/views/projects/boards/components/_board.html.haml +++ b/app/views/projects/boards/components/_board.html.haml @@ -7,7 +7,7 @@ data: { container: "body", placement: "bottom" } } {{ list.title }} .board-issue-count-holder.pull-right.clearfix{ "v-if" => 'list.type !== "blank"' } - %span.board-issue-count.pull-left{ ":class" => '{ "has-btn": list.type !== "done" }' } + %span.board-issue-count.pull-left{ ":class" => '{ "has-btn": list.type !== "done" && !disabled }' } {{ list.issuesSize }} - if can?(current_user, :admin_issue, @project) %button.btn.btn-small.btn-default.pull-right.has-tooltip{ type: "button", diff --git a/changelogs/unreleased/issue-boards-counter-border-fix.yml b/changelogs/unreleased/issue-boards-counter-border-fix.yml new file mode 100644 index 00000000000..c98adb6af7c --- /dev/null +++ b/changelogs/unreleased/issue-boards-counter-border-fix.yml @@ -0,0 +1,4 @@ +--- +title: Fixed issue boards counter border when unauthorized +merge_request: +author: |