.block = render :partial => "git/shared/navigation" = render :partial => "git/shared/info" - if @commit .block .content .inner = render :partial => "git/commits/commits", :object => [@commit] .block .content .inner %h3= render_path %table.table.git_tree %tr %th.icon %th name %th age %th.last message - if @path.present? %tr.odd %td %td.icon = link_to "..", tree_path(@project, @treeish, File.join([@path, ".."].compact)) %td==   %td.last==   - (@tree.trees + @tree.blobs).each do |entry| %tr{ :class => cycle("even", "odd")} %td.icon - if entry.is_a?(Grit::Blob) = image_tag("git/icons/text_document_16.png") - else = image_tag("git/icons/folder_16.png") %td.tree_element - if entry.is_a?(Grit::Blob) = link_to entry.name, blob_path(@project, @treeish, File.join([@path, entry.name].compact)) - else = link_to "#{entry.name}/", tree_path(@project, @treeish, File.join([@path, entry.name].compact)) %td==   %td.last==   - content_for :sidebar, render(:partial => 'git/shared/sidebar')