Commit 3dd0c252 authored by Luke "Jared" Bennett's avatar Luke "Jared" Bennett

Only show target dropdown if new_repo

parent 818b2128
.tree-ref-container .tree-ref-container
.tree-ref-holder .tree-ref-holder
= render 'shared/ref_switcher', destination: 'tree', path: @path = render 'shared/ref_switcher', destination: 'tree', path: @path
=icon('long-arrow-right', title: 'to target branch') - if !show_new_repo?
= render 'shared/target_switcher', destination: 'tree', path: @path =icon('long-arrow-right', title: 'to target branch')
= render 'shared/target_switcher', destination: 'tree', path: @path
- if !show_new_repo? - if !show_new_repo?
= render 'projects/tree/old_tree_header' = render 'projects/tree/old_tree_header'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment