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