2016-12-23 04:37:12 -05:00
|
|
|
.branch-commit
|
2016-06-14 12:34:48 -04:00
|
|
|
- if deployment.ref
|
2016-08-05 15:08:39 -04:00
|
|
|
.icon-container
|
|
|
|
= deployment.tag? ? icon('tag') : icon('code-fork')
|
2017-05-11 11:47:44 -04:00
|
|
|
= link_to deployment.ref, project_ref_path(@project, deployment.ref), class: "ref-name"
|
2016-10-10 09:46:28 -04:00
|
|
|
.icon-container.commit-icon
|
2016-08-05 15:08:39 -04:00
|
|
|
= custom_icon("icon_commit")
|
2017-05-11 11:47:44 -04:00
|
|
|
= link_to deployment.short_sha, namespace_project_commit_path(@project.namespace, @project, deployment.sha), class: "commit-sha"
|
2016-06-14 12:34:48 -04:00
|
|
|
|
|
|
|
%p.commit-title
|
|
|
|
%span
|
|
|
|
- if commit_title = deployment.commit_title
|
2016-08-08 12:39:24 -04:00
|
|
|
= 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
|