Update links to commits

This commit is contained in:
Riyad Preukschas 2012-07-22 14:31:42 +02:00
parent 14c9723724
commit cbce4528d0
3 changed files with 14 additions and 16 deletions

View file

@ -2,9 +2,9 @@
%li.wll.commit
= link_to project_commit_path(project, :id => commit.id) do
%p
%code.left= commit.short_id
%code.left= link_to commit.short_id, project_commit_path(project, :id => commit.id)
%strong.cgray= commit.author_name
–
= image_tag gravatar_icon(commit.author_email), :class => "avatar", :width => 16
%span.row_title= truncate(commit.title, :length => 50) rescue "--broken encoding"
= link_to truncate(commit.title, :length => 50), project_commit_path(project, :id => commit.id), :class => "row_title" rescue "--broken encoding"