OSDN Git Service

fix blame view head nav
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Fri, 22 Mar 2013 13:11:16 +0000 (15:11 +0200)
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Fri, 22 Mar 2013 13:11:16 +0000 (15:11 +0200)
app/views/blame/_head.html.haml
app/views/blame/show.html.haml

index ef9e6c9..3a88382 100644 (file)
@@ -1,7 +1,2 @@
-%ul.nav.nav-tabs
-  %li
-    = render partial: 'shared/ref_switcher', locals: {destination: 'tree', path: params[:path]}
-  = nav_link(controller: :refs) do
-    = link_to 'Source', project_tree_path(@project, @ref)
-  %li.pull-right
-    = render "shared/clone_panel"
+%div.tree-ref-holder
+  = render 'shared/ref_switcher', destination: 'tree', path: params[:path]
index 6251626..f85dde6 100644 (file)
@@ -3,7 +3,7 @@
 #tree-holder.tree-holder
   %ul.breadcrumb
     %li
-      %span.arrow
+      %i.icon-angle-right
       = link_to project_tree_path(@project, @ref) do
         = @project.name
     - @tree.breadcrumbs(6) do |link|