debian-mirror-gitlab/app/views/projects/repositories/_feed.html.haml

19 lines
607 B
Text
Raw Normal View History

2014-09-02 18:07:02 +05:30
- commit = update
%tr
%td
2015-04-26 12:48:37 +05:30
= link_to namespace_project_commits_path(@project.namespace, @project, commit.head.name) do
2014-09-02 18:07:02 +05:30
%strong
= commit.head.name
- if @project.root_ref?(commit.head.name)
%span.label default
%td
%div
2015-04-26 12:48:37 +05:30
= link_to namespace_project_commits_path(@project.namespace, @project, commit.id) do
2014-09-02 18:07:02 +05:30
%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_with_tooltip(commit.committed_date)