summaryrefslogtreecommitdiff
path: root/app/views/dashboard/_groups_head.html.haml
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2016-02-03 01:08:30 +0100
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2016-02-03 16:14:11 +0100
commit4beae990b37e3583485bb33f03e08e3cc798ff37 (patch)
tree3d92307ac4bbf75b58eb5a5e7aa22a08e1cd6282 /app/views/dashboard/_groups_head.html.haml
parentdf922d811520f2b6459e84f1e595d3a0fcfc395c (diff)
downloadgitlab-ce-4beae990b37e3583485bb33f03e08e3cc798ff37.tar.gz
Refactor nav controls section (search and new project/group btn)
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/dashboard/_groups_head.html.haml')
-rw-r--r--app/views/dashboard/_groups_head.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/dashboard/_groups_head.html.haml b/app/views/dashboard/_groups_head.html.haml
index e52070704d9..3d17f74b709 100644
--- a/app/views/dashboard/_groups_head.html.haml
+++ b/app/views/dashboard/_groups_head.html.haml
@@ -7,7 +7,7 @@
= link_to explore_groups_path, title: 'Explore groups' do
Explore Groups
- if current_user.can_create_group?
- .projects-search-form
+ .nav-controls
= link_to new_group_path, class: "btn btn-new" do
= icon('plus')
New Group