summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-07-13 23:36:21 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-07-13 23:36:21 +0200
commitfd84567545d274f29bbcf397c074618d4b300349 (patch)
tree313f6feced24a7280ba6afcf584b92ccfc835293
parent59d7f4c97ff2869824cb5b1b0fbe14c983dab75d (diff)
downloadgitlab-ce-project-plus-icon.tar.gz
Improve project new item dropdownproject-plus-icon
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-rw-r--r--app/views/projects/_home_panel.html.haml2
-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