_commit.html.haml
335 Bytes
%li.commit
%p
= link_to commit[:id][0..8], project_commit_path(project, commit[:id]), class: "commit_short_id"
%span= commit[:author][:name]
–
= image_tag gravatar_icon(commit[:author][:email]), class: "avatar", width: 16
= gfm escape_once(truncate(commit[:message], length: 50)) rescue "--broken encoding"