gitlab-org--gitlab-foss/app/views/events/_commit.html.haml

9 lines
363 B
Plaintext
Raw Normal View History

2012-07-22 11:08:24 +00:00
- commit = CommitDecorator.decorate(commit)
%li.commit
2012-07-23 23:22:01 +00:00
%p
= link_to commit.short_id(8), project_commit_path(project, commit), class: "commit_short_id"
%span= commit.author_name
2012-07-23 23:22:01 +00:00
–
= image_tag gravatar_icon(commit.author_email), class: "avatar", width: 16
2012-09-20 00:21:12 +00:00
= gfm escape_once(truncate(commit.title, length: 50)) rescue "--broken encoding"