diff options
author | Phil Hughes <me@iamphill.com> | 2016-08-05 18:41:50 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-08-17 17:12:47 +0100 |
commit | 11497095377a1d97024426ac2de846c6bb995a7b (patch) | |
tree | 6bdb3a60023b6f7369cfe11be48dbd667de3e178 /app/views/shared/issuable/_filter.html.haml | |
parent | da21119fe907f08aa746d212c6c32803dc769628 (diff) | |
download | gitlab-ce-11497095377a1d97024426ac2de846c6bb995a7b.tar.gz |
Hides create list button when not logged in
Diffstat (limited to 'app/views/shared/issuable/_filter.html.haml')
-rw-r--r-- | app/views/shared/issuable/_filter.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/issuable/_filter.html.haml b/app/views/shared/issuable/_filter.html.haml index 4f26d92ae6f..26138ee9159 100644 --- a/app/views/shared/issuable/_filter.html.haml +++ b/app/views/shared/issuable/_filter.html.haml @@ -29,7 +29,7 @@ .pull-right - if controller.controller_name != 'boards' = render 'shared/sort_dropdown' - - else + - elsif current_user .dropdown %button.btn.btn-create.js-new-board-list{ type: "button", data: { toggle: "dropdown", labels: labels_filter_path } } Create new list |