diff options
author | tauriedavis <taurie@gitlab.com> | 2016-10-04 18:18:18 -0700 |
---|---|---|
committer | tauriedavis <taurie@gitlab.com> | 2016-10-04 18:18:18 -0700 |
commit | 27536459e53d5fd78f525465464743164a8c5820 (patch) | |
tree | 64942ce94f3ea572740514e092f87bbce7315d94 /app/views/projects/buttons/_dropdown.html.haml | |
parent | 3bf0d1432db100b2813fd17b48936148336b0f41 (diff) | |
download | gitlab-ce-27536459e53d5fd78f525465464743164a8c5820.tar.gz |
19499 Update project dropdowns19499-project-dropdowns
Diffstat (limited to 'app/views/projects/buttons/_dropdown.html.haml')
-rw-r--r-- | app/views/projects/buttons/_dropdown.html.haml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/projects/buttons/_dropdown.html.haml b/app/views/projects/buttons/_dropdown.html.haml index ca907077c2b..6cd9b98a706 100644 --- a/app/views/projects/buttons/_dropdown.html.haml +++ b/app/views/projects/buttons/_dropdown.html.haml @@ -1,7 +1,8 @@ - if current_user - .btn-group + .dropdown.inline.project-dropdown %a.btn.dropdown-toggle{href: '#', "data-toggle" => "dropdown"} = icon('plus') + = icon("caret-down") %ul.dropdown-menu.dropdown-menu-align-right.project-home-dropdown - can_create_issue = can?(current_user, :create_issue, @project) - merge_project = can?(current_user, :create_merge_request, @project) ? @project : (current_user && current_user.fork_of(@project)) |