_feed.html.haml 555 Bytes
Newer Older
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
1
- commit = update
2 3
%tr
  %td
Robert Speicher's avatar
Robert Speicher committed
4
    = link_to project_commits_path(@project, commit.head.name) do
5
      %strong
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
6
        = commit.head.name
7
      - if @project.root_ref?(commit.head.name)
8 9
        %span.label default

10 11
  %td
    %div
12
      = link_to project_commits_path(@project, commit.id) do
13
        %code= commit.short_id
14
      = image_tag gravatar_icon(commit.author_email), class: "", width: 16, alt: ''
15
      = gfm escape_once(truncate(commit.title, length: 40))
16
  %td
17
    %span.pull-right.cgray
18 19
      = time_ago_in_words(commit.committed_date)
      ago