gitlab-org--gitlab-foss/app/views/projects/_last_commit.html.haml

13 lines
634 B
Plaintext
Raw Normal View History

- ref = local_assigns.fetch(:ref)
- status = commit.status(ref)
- if status
= link_to builds_namespace_project_commit_path(commit.project.namespace, commit.project, commit), class: "ci-status ci-#{status}" do
= ci_icon_for_status(status)
= ci_label_for_status(status)
2016-06-29 12:07:12 +00:00
= link_to commit.short_id, namespace_project_commit_path(project.namespace, project, commit), class: "commit_short_id"
= link_to_gfm commit.title, namespace_project_commit_path(project.namespace, project, commit), class: "commit-row-message"
·
2016-09-08 18:57:24 +00:00
#{time_ago_with_tooltip(commit.committed_date)} by
2016-06-29 12:07:12 +00:00
= commit_author_link(commit, avatar: true, size: 24)