summaryrefslogtreecommitdiff
path: root/app/views/events/_event_push.atom.haml
blob: bf655f9d21ae9f8dc027c9164c36546f219ec0c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
%div{ xmlns: "http://www.w3.org/1999/xhtml" }
  %p
    %strong= event.author_name
    = link_to "(#{truncate_sha(event.commit_id)})", project_commit_path(event.project, event.commit_id)
    %i
      at
      = event.created_at.to_s(:short)
  %blockquote= markdown(escape_once(event.commit_title), pipeline: :atom, project: event.project, author: event.author)
  - if event.commits_count > 1
    %p
      %i
        \... and
        = pluralize(event.commits_count - 1, "more commit")