2011-03-10 13:19:23 +00:00
|
|
|
.row= link_to "Commits", commits_path(@platform.name, @project.name, @treeish)
|
|
|
|
.row.tags
|
|
|
|
%h3 Tags:
|
|
|
|
%ul
|
|
|
|
- @repository.tags.each do |tag|
|
|
|
|
%li= link_to tag.name, tree_path(@platform.name, @project.name, tag.name)
|
|
|
|
|
|
|
|
.row.heads
|
|
|
|
%h3 Heads:
|
|
|
|
%ul
|
|
|
|
- @repository.heads.each do |head|
|
|
|
|
%li= link_to head.name, tree_path(@platform.name, @project.name, head.name)
|
|
|
|
|
|
|
|
%table
|
|
|
|
%thead
|
|
|
|
%tr
|
|
|
|
%th name
|
|
|
|
%th age
|
|
|
|
%th message
|
|
|
|
|
|
|
|
%tbody
|
|
|
|
- if @path.present?
|
|
|
|
%tr
|
|
|
|
%td
|
|
|
|
= link_to "..", tree_path(@platform.name, @project.name, @treeish, File.join([@path, ".."].compact))
|
|
|
|
- @tree.contents.each do |entry|
|
|
|
|
%tr
|
|
|
|
%td
|
|
|
|
- if entry.is_a?(Grit::Blob)
|
|
|
|
= link_to entry.name, blob_path(@platform.name, @project.name, @treeish, File.join([@path, entry.name].compact))
|
|
|
|
- else
|
2011-03-11 10:06:14 +00:00
|
|
|
= link_to "#{entry.name}/", tree_path(@platform.name, @project.name, @treeish, File.join([@path, entry.name].compact))
|
2011-03-10 13:19:23 +00:00
|
|
|
%td==
|
|
|
|
%td==
|