summaryrefslogtreecommitdiff
path: root/app/views/dashboard/_projects_head.html.haml
diff options
context:
space:
mode:
authorZeger-Jan van de Weg <git@zjvandeweg.nl>2017-09-07 15:20:04 +0200
committerZeger-Jan van de Weg <git@zjvandeweg.nl>2017-09-07 15:20:04 +0200
commit62a5cc7134457d21bf3a68bfdb04e090cf0e6ecf (patch)
treeb69d47581d803acd0b456cbf1576a9072624c1f2 /app/views/dashboard/_projects_head.html.haml
parent492eaece7ec80090fd7276758798a2af49fe9763 (diff)
parent0c2dc7273819b29efcb77a347af0116aeb5a9927 (diff)
downloadgitlab-ce-zj/gitlab-ce-zj-auto-devops-table.tar.gz
Merge branch 'master' into zj-auto-devops-tablezj/gitlab-ce-zj-auto-devops-table
Diffstat (limited to 'app/views/dashboard/_projects_head.html.haml')
-rw-r--r--app/views/dashboard/_projects_head.html.haml8
1 files changed, 2 insertions, 6 deletions
diff --git a/app/views/dashboard/_projects_head.html.haml b/app/views/dashboard/_projects_head.html.haml
index e2a1914ada2..fd2ba9ac1ca 100644
--- a/app/views/dashboard/_projects_head.html.haml
+++ b/app/views/dashboard/_projects_head.html.haml
@@ -1,10 +1,6 @@
= content_for :flash_message do
= render 'shared/project_limit'
-- if current_user.can_create_project?
- - content_for :breadcrumbs_extra do
- = link_to "New project", new_project_path, class: 'btn btn-new'
-
.top-area.scrolling-tabs-container.inner-page-scroll-tabs
.fade-left= icon('angle-left')
.fade-right= icon('angle-right')
@@ -19,8 +15,8 @@
= link_to explore_root_path, title: 'Explore', data: {placement: 'right'} do
Explore projects
- .nav-controls.nav-controls-new-nav
+ .nav-controls
= render 'shared/projects/search_form'
= render 'shared/projects/dropdown'
- if current_user.can_create_project?
- = link_to "New project", new_project_path, class: "btn btn-new visible-xs"
+ = link_to "New project", new_project_path, class: "btn btn-new"