Improve project new item dropdown

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets 2015-07-13 23:36:21 +02:00
parent 59d7f4c97f
commit fd84567545
No known key found for this signature in database
GPG Key ID: 161B5D6A44D3D88A
2 changed files with 2 additions and 3 deletions

View File

@ -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"

View File

@ -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