Use standard button size for new file
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
parent
3bb47bb6e0
commit
ef4ca663fd
|
@ -15,11 +15,11 @@
|
|||
- if current_user
|
||||
%li
|
||||
- if !on_top_of_branch?
|
||||
%span.btn.btn-sm.add-to-tree.disabled.has-tooltip{title: "You can only add files when you are on a branch", data: { container: 'body' }}
|
||||
%span.btn.add-to-tree.disabled.has-tooltip{title: "You can only add files when you are on a branch", data: { container: 'body' }}
|
||||
= icon('plus')
|
||||
- else
|
||||
%span.dropdown
|
||||
%a.dropdown-toggle.btn.btn-sm.add-to-tree{href: '#', "data-toggle" => "dropdown"}
|
||||
%a.dropdown-toggle.btn.add-to-tree{href: '#', "data-toggle" => "dropdown"}
|
||||
= icon('plus')
|
||||
%ul.dropdown-menu
|
||||
- if can_edit_tree?
|
||||
|
|
Loading…
Reference in New Issue