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

12 lines
652 B
Text
Raw Normal View History

.project-last-commit
2016-03-31 13:51:28 -04:00
- if commit.status
2016-04-13 09:58:22 -04:00
= link_to builds_namespace_project_commit_path(commit.project.namespace, commit.project, commit), class: "ci-status ci-#{commit.status}" do
2016-03-31 13:51:28 -04:00
= ci_icon_for_status(commit.status)
= ci_label_for_status(commit.status)
= 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"
·
#{time_ago_with_tooltip(commit.committed_date, skip_js: true)} by
= commit_author_link(commit, avatar: true, size: 24)