diff options
-rw-r--r-- | app/views/projects/_home_panel.html.haml | 2 | ||||
-rw-r--r-- | app/views/projects/buttons/_dropdown.html.haml (renamed from app/views/projects/_dropdown.html.haml) | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/app/views/projects/_home_panel.html.haml b/app/views/projects/_home_panel.html.haml index 64055a9ccf2..7b6b4b35c8d 100644 --- a/app/views/projects/_home_panel.html.haml +++ b/app/views/projects/_home_panel.html.haml @@ -23,6 +23,6 @@ = link_to archive_namespace_project_repository_path(@project.namespace, @project, ref: @ref, format: 'zip'), class: 'btn', rel: 'nofollow' do %i.fa.fa-download - = render 'projects/dropdown' + = render 'projects/buttons/dropdown' = render "shared/clone_panel" diff --git a/app/views/projects/_dropdown.html.haml b/app/views/projects/buttons/_dropdown.html.haml index dfdf9fb7ac4..99c2ed62545 100644 --- a/app/views/projects/_dropdown.html.haml +++ b/app/views/projects/buttons/_dropdown.html.haml @@ -1,7 +1,7 @@ - if current_user %span.dropdown %a.dropdown-toggle.btn.btn-new{href: '#', "data-toggle" => "dropdown"} - %i.fa.fa-bars + %i.fa.fa-plus %ul.dropdown-menu - if @project.issues_enabled && can?(current_user, :create_issue, @project) %li @@ -26,7 +26,6 @@ New git branch %li = link_to new_namespace_project_tag_path(@project.namespace, @project) do - %i.fa.fa-tag New git tag |