%= partial(:header, :locals => {:repo => @repo}) %>
Tree: <%= @tree.id %> <%= archive_link @tree, @repo.param %>
<% @tree.trees.each do |tree| %>
<% tree_path = "/#{tree.name}"%>
- <%= tree.basename %>
<% tree.trees.each do |next_tree| %>
<% new_path = tree_path + "/#{next_tree.name}" %>
<%= partial(:tree_part, :locals => {:current_tree => next_tree, :tree_path => new_path, :path => @path }) %>
<% end %>
<% tree.blobs.each do |next_blob| %>
- <%= next_blob.basename %>
<% end %>
<% end %>
<% @tree.blobs.each do |blob| %>
- <%= blob.basename %>
<% end %>