Commit de2c189ec10448787e41e4f2283de7c120fb16df

Authored by Dmitriy Zaporozhets
1 parent 84043e8e

fix blame view head nav

app/views/blame/_head.html.haml
1   -%ul.nav.nav-tabs
2   - %li
3   - = render partial: 'shared/ref_switcher', locals: {destination: 'tree', path: params[:path]}
4   - = nav_link(controller: :refs) do
5   - = link_to 'Source', project_tree_path(@project, @ref)
6   - %li.pull-right
7   - = render "shared/clone_panel"
  1 +%div.tree-ref-holder
  2 + = render 'shared/ref_switcher', destination: 'tree', path: params[:path]
... ...
app/views/blame/show.html.haml
... ... @@ -3,7 +3,7 @@
3 3 #tree-holder.tree-holder
4 4 %ul.breadcrumb
5 5 %li
6   - %span.arrow
  6 + %i.icon-angle-right
7 7 = link_to project_tree_path(@project, @ref) do
8 8 = @project.name
9 9 - @tree.breadcrumbs(6) do |link|
... ...