Browse button in commit list
This commit is contained in:
parent
bbb0d24d5c
commit
fcd92f9d95
1 changed files with 15 additions and 10 deletions
|
@ -1,12 +1,17 @@
|
||||||
%li.entry
|
%li
|
||||||
= link_to project_commit_path(@project, :id => commit.id) do
|
.row
|
||||||
%div
|
.span12
|
||||||
%code= commit.id.to_s[0..10]
|
.entry
|
||||||
–
|
= link_to project_commit_path(@project, :id => commit.id) do
|
||||||
= image_tag gravatar_icon(commit.author_email), :class => "", :width => 16
|
%p
|
||||||
= truncate(commit.safe_message, :length => 50)
|
%code= commit.id.to_s[0..10]
|
||||||
|
–
|
||||||
|
= image_tag gravatar_icon(commit.author_email), :class => "", :width => 16
|
||||||
|
= truncate(commit.safe_message, :length => 50)
|
||||||
|
|
||||||
%span.right.cgray
|
%span.right.cgray
|
||||||
= time_ago_in_words(commit.committed_date)
|
= time_ago_in_words(commit.committed_date)
|
||||||
ago
|
ago
|
||||||
|
.span2
|
||||||
|
= link_to "Browse Code", tree_project_ref_path(@project, commit.id), :class => "btn small"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue