diff options
author | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-02-21 15:29:19 -0600 |
---|---|---|
committer | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-02-22 10:15:35 -0600 |
commit | 8f61290f22ba624a3a0ac9622c3ded1fa3140b90 (patch) | |
tree | 5057c98b63466cb8508318726a30e3bd6b09d115 /app/views/layouts | |
parent | 4753368d2f1bb62eab76bb3276f0859f8eec140d (diff) | |
download | gitlab-ce-8f61290f22ba624a3a0ac9622c3ded1fa3140b90.tar.gz |
Put back the new project button27354-navigation-new-button
Diffstat (limited to 'app/views/layouts')
-rw-r--r-- | app/views/layouts/header/_default.html.haml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/layouts/header/_default.html.haml b/app/views/layouts/header/_default.html.haml index f8986893776..c28661c2351 100644 --- a/app/views/layouts/header/_default.html.haml +++ b/app/views/layouts/header/_default.html.haml @@ -36,6 +36,10 @@ = icon('bell fw') %span.badge.todos-pending-count{ class: ("hidden" if todos_pending_count == 0) } = todos_count_format(todos_pending_count) + - if current_user.can_create_project? + %li + = link_to new_project_path, title: 'New project', aria: { label: "New project" }, data: {toggle: 'tooltip', placement: 'bottom', container: 'body'} do + = icon('plus fw') - if Gitlab::Sherlock.enabled? %li = link_to sherlock_transactions_path, title: 'Sherlock Transactions', |