Commit fcd92f9d authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Browse button in commit list

parent bbb0d24d
%li.entry
= link_to project_commit_path(@project, :id => commit.id) do
%div
%code= commit.id.to_s[0..10]
–
= image_tag gravatar_icon(commit.author_email), :class => "", :width => 16
= truncate(commit.safe_message, :length => 50)
%li
.row
.span12
.entry
= link_to project_commit_path(@project, :id => commit.id) do
%p
%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
= time_ago_in_words(commit.committed_date)
ago
%span.right.cgray
= time_ago_in_words(commit.committed_date)
ago
.span2
= link_to "Browse Code", tree_project_ref_path(@project, commit.id), :class => "btn small"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment