2014-02-26 08:06:58 +00:00
|
|
|
%li.commit.js-toggle-container
|
|
|
|
.commit-row-title
|
2013-04-25 14:15:33 +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
|
|
|
|
2014-01-08 10:42:57 +00:00
|
|
|
%span.str-truncated
|
|
|
|
= link_to_gfm commit.title, project_commit_path(project, commit.id), class: "commit-row-message"
|
2014-02-25 13:54:30 +00:00
|
|
|
- if commit.description?
|
2014-02-26 08:13:11 +00:00
|
|
|
%a.text-expander.js-toggle-button ...
|
2014-02-25 13:54:30 +00:00
|
|
|
|
2013-09-10 07:17:15 +00:00
|
|
|
= link_to "Browse Code »", project_tree_path(project, commit), class: "pull-right"
|
|
|
|
.notes_count
|
2013-04-25 14:15:33 +00:00
|
|
|
- notes = project.notes.for_commit_id(commit.id)
|
2012-10-04 21:02:37 +00:00
|
|
|
- if notes.any?
|
2013-11-27 09:29:52 +00:00
|
|
|
%span.label.label-gray
|
2012-10-04 21:02:37 +00:00
|
|
|
%i.icon-comment
|
|
|
|
= notes.count
|
2013-09-10 07:17:15 +00:00
|
|
|
|
2014-02-25 13:54:30 +00:00
|
|
|
- if commit.description?
|
2014-02-26 08:06:58 +00:00
|
|
|
.commit-row-description.js-toggle-content
|
2014-02-25 13:54:30 +00:00
|
|
|
= simple_format(commit.description)
|
|
|
|
|
2013-09-10 07:17:15 +00:00
|
|
|
.commit-row-info
|
|
|
|
= commit_author_link(commit, avatar: true, size: 16)
|
2013-12-18 14:03:59 +00:00
|
|
|
.committed_ago
|
2013-12-30 12:49:22 +00:00
|
|
|
#{time_ago_with_tooltip(commit.committed_date)}
|