diff options
author | Phil Hughes <me@iamphill.com> | 2016-10-04 12:53:39 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-10-06 11:00:01 +0100 |
commit | 284af578f37ffb9ec7bcc44ae9d8897be6e68d2f (patch) | |
tree | bd91163d8124c1cfb864fcaba51b4f92935d7b3b /app | |
parent | a9c98be056d1c493670e846771b08cf8985bf7a6 (diff) | |
download | gitlab-ce-284af578f37ffb9ec7bcc44ae9d8897be6e68d2f.tar.gz |
Added tests
Diffstat (limited to 'app')
-rw-r--r-- | app/views/projects/boards/components/_board.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/boards/components/_board.html.haml b/app/views/projects/boards/components/_board.html.haml index efec465bbb2..069b8bd9e55 100644 --- a/app/views/projects/boards/components/_board.html.haml +++ b/app/views/projects/boards/components/_board.html.haml @@ -19,7 +19,7 @@ - if can? current_user, :create_issue, @project %button.btn.btn-small.btn-default.pull-right{ type: "button", "@click" => "showNewIssueForm", - "v-if" => "list.type !== 'done'" } + "v-if" => "list.type !== 'done' && list.type !== 'blank'" } = icon("plus") - if can?(current_user, :admin_list, @project) %board-delete{ "inline-template" => true, |