summaryrefslogtreecommitdiff
path: root/app/views/commits/_commit.html.haml
blob: b4f8f91f56377d7366693fd747336a2345b434cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
%li.commit
  .browse_code_link_holder
    %p
      %strong= link_to "Browse Code ยป", tree_project_ref_path(@project, commit.id), :class => "right"
  %p
    = link_to commit.short_id(8), project_commit_path(@project, :id => commit.id), :class => "commit_short_id"
    %strong.cgray= commit.author_name
    –
    = image_tag gravatar_icon(commit.author_email), :class => "avatar", :width => 16
    = link_to_gfm truncate(commit.title, :length => 50), project_commit_path(@project, :id => commit.id), :class => "row_title"

    %span.committed_ago
      = time_ago_in_words(commit.committed_date)
      ago