gitlab-org--gitlab-foss/app/views/projects/deployments/_commit.html.haml

17 lines
789 B
Plaintext
Raw Normal View History

2016-12-23 09:37:12 +00:00
.branch-commit
2016-06-14 16:34:48 +00:00
- if deployment.ref
.icon-container
= deployment.tag? ? icon('tag') : icon('code-fork')
= link_to deployment.ref, namespace_project_commits_path(@project.namespace, @project, deployment.ref), class: "monospace branch-name"
2016-10-10 13:46:28 +00:00
.icon-container.commit-icon
= custom_icon("icon_commit")
2016-06-14 16:34:48 +00:00
= link_to deployment.short_sha, namespace_project_commit_path(@project.namespace, @project, deployment.sha), class: "commit-id monospace"
%p.commit-title
%span
- if commit_title = deployment.commit_title
= author_avatar(deployment.commit, size: 20)
2016-06-14 16:34:48 +00:00
= link_to_gfm commit_title, namespace_project_commit_path(@project.namespace, @project, deployment.sha), class: "commit-row-message"
- else
Cant find HEAD commit for this branch