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