lib/gitdocs/views/dir.haml in gitdocs-0.3.4 vs lib/gitdocs/views/dir.haml in gitdocs-0.3.5
- old
+ new
@@ -1,15 +1,7 @@
%h1= root
-- if parent
- %a{ :href => parent.empty? ? "/#{idx}" : "/#{idx}#{parent}", :class => "parent" }
- ↪ Back to parent
-- else
- %a{ :href => "/", :class => "parent" }
- ↪ Back to selection
-
-%h2
- %span.path= request.path_info.empty? ? '/' : request.path_info
+= partial("header", :locals => { :parent => parent, :file => false, :idx => idx })
%table
-contents.each_with_index do |f, i|
%tr
%td