2011-04-01 01:36:34 +01:00
|
|
|
%ul.list.commits
|
|
|
|
- commits.each do |commit|
|
|
|
|
%li.commit
|
|
|
|
%table
|
|
|
|
%tr
|
|
|
|
%td.committers
|
|
|
|
.author #{commit.author}, #{commit_date(commit.authored_date)}
|
|
|
|
- if commit.committer != commit.author
|
|
|
|
.committer
|
|
|
|
(committed by: #{commit.committer}, #{commit_date(commit.committed_date)})
|
|
|
|
%td.message
|
2011-10-24 11:19:04 +01:00
|
|
|
%p= link_to commit.message, commit_path(@project, commit.id)
|
2011-04-01 01:36:34 +01:00
|
|
|
%td.trees
|
|
|
|
.commit
|
|
|
|
Commit:
|
|
|
|
%span{ :style => "float: right;"}
|
2011-10-24 11:19:04 +01:00
|
|
|
#{link_to short_hash_id(commit.id), commit_path(@project, commit.id)}
|
2011-04-01 01:36:34 +01:00
|
|
|
.tree
|
|
|
|
Tree:
|
|
|
|
%span{ :style => "float: right;"}
|
2011-10-24 11:19:04 +01:00
|
|
|
#{link_to short_hash_id(commit.tree.id), tree_path(@project, :treeish => commit.tree.id)}
|
2011-04-01 01:36:34 +01:00
|
|
|
- commit.parents.each do |parent|
|
|
|
|
.parent
|
|
|
|
Parent:
|
|
|
|
%span{ :style => "float: right;"}
|
2011-10-24 11:19:04 +01:00
|
|
|
#{link_to short_hash_id(parent.id), tree_path(@project, :treeish => parent.id)}
|