2012-06-13 17:02:30 +00:00
|
|
|
%li.commit
|
|
|
|
.browse_code_link_holder
|
2012-02-20 19:38:59 +00:00
|
|
|
%p
|
2012-09-17 16:39:57 +00:00
|
|
|
%strong= link_to "Browse Code »", project_tree_path(@project, commit), class: "right"
|
2012-07-22 12:31:42 +00:00
|
|
|
%p
|
2012-09-17 14:06:56 +00:00
|
|
|
= link_to commit.short_id(8), project_commit_path(@project, commit), class: "commit_short_id"
|
2012-11-10 22:08:42 +00:00
|
|
|
= commit.author_link avatar: true, size: 24
|
|
|
|
|
2012-09-17 14:06:56 +00:00
|
|
|
= link_to_gfm truncate(commit.title, length: 50), project_commit_path(@project, commit.id), class: "row_title"
|
2012-02-06 20:32:04 +00:00
|
|
|
|
2012-07-22 12:31:42 +00:00
|
|
|
%span.committed_ago
|
|
|
|
= time_ago_in_words(commit.committed_date)
|
|
|
|
ago
|
|
|
|
|
2012-10-04 21:02:37 +00:00
|
|
|
|
|
|
|
%span.notes_count
|
|
|
|
- notes = @project.commit_notes(commit) + @project.commit_line_notes(commit)
|
|
|
|
- if notes.any?
|
|
|
|
%span.btn.small.disabled.grouped
|
|
|
|
%i.icon-comment
|
|
|
|
= notes.count
|