debian-mirror-gitlab/app/views/projects/_last_commit.html.haml

13 lines
636 B
Text
Raw Normal View History

2016-11-24 13:41:30 +05:30
- ref = local_assigns.fetch(:ref)
- status = commit.status(ref)
- if status
2017-08-17 22:00:37 +05:30
= link_to pipelines_namespace_project_commit_path(commit.project.namespace, commit.project, commit), class: "ci-status ci-#{status}" do
2016-11-24 13:41:30 +05:30
= ci_icon_for_status(status)
2017-08-17 22:00:37 +05:30
= ci_text_for_status(status)
2015-11-26 14:37:03 +05:30
2016-08-24 12:49:21 +05:30
= 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"
·
2017-08-17 22:00:37 +05:30
#{time_ago_with_tooltip(commit.committed_date)} by
2016-08-24 12:49:21 +05:30
= commit_author_link(commit, avatar: true, size: 24)