50c2c16a4d
This helps fix cases where UTF-8 is wrongly identified as ISO-8859-1. We will only try to convert strings if we are 100% sure about the charset, otherwise, we will fallback to UTF-8.
18 lines
563 B
Plaintext
18 lines
563 B
Plaintext
%li.wll.commit
|
|
.right.span2
|
|
%p
|
|
%strong= link_to "Browse Code »", tree_project_ref_path(@project, commit.id), :class => "right"
|
|
= link_to project_commit_path(@project, :id => commit.id) do
|
|
%p
|
|
%code.left= commit.id.to_s[0..10]
|
|
%strong.cgray= commit.author_name
|
|
–
|
|
= image_tag gravatar_icon(commit.author_email), :class => "avatar", :width => 16
|
|
%span.row_title= truncate(commit.safe_message, :length => 50)
|
|
|
|
%span.right.cgray
|
|
= time_ago_in_words(commit.committed_date)
|
|
ago
|
|
|
|
|