summaryrefslogtreecommitdiff
path: root/app/views/projects/repositories/_feed.html.haml
blob: 6e537d2959bfd2adf6690b10b7d4181fb376b9fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
- commit = update
%tr
  %td
    = link_to project_commits_path(@project, commit.head.name) do
      %strong
        = commit.head.name
      - if @project.root_ref?(commit.head.name)
        %span.label default

  %td
    %div
      = link_to project_commits_path(@project, commit.id) do
        %code= commit.short_id
      = image_tag avatar_icon(commit.author_email), class: "", width: 16, alt: ''
      = gfm escape_once(truncate(commit.title, length: 40))
  %td
    %span.pull-right.cgray
      = time_ago_in_words(commit.committed_date)
      ago