Commit de2c189ec10448787e41e4f2283de7c120fb16df
1 parent
84043e8e
Exists in
master
and in
4 other branches
fix blame view head nav
Showing
2 changed files
with
3 additions
and
8 deletions
Show diff stats
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,7 +3,7 @@ | ||
3 | #tree-holder.tree-holder | 3 | #tree-holder.tree-holder |
4 | %ul.breadcrumb | 4 | %ul.breadcrumb |
5 | %li | 5 | %li |
6 | - %span.arrow | 6 | + %i.icon-angle-right |
7 | = link_to project_tree_path(@project, @ref) do | 7 | = link_to project_tree_path(@project, @ref) do |
8 | = @project.name | 8 | = @project.name |
9 | - @tree.breadcrumbs(6) do |link| | 9 | - @tree.breadcrumbs(6) do |link| |