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

17 lines
789 B
Text
Raw Normal View History

2016-12-23 04:37:12 -05:00
.branch-commit
2016-06-14 12:34:48 -04: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 09:46:28 -04:00
.icon-container.commit-icon
= custom_icon("icon_commit")
2016-06-14 12:34:48 -04: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 12:34:48 -04: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