2016-12-23 09:37:12 +00:00
|
|
|
.branch-commit
|
2016-06-14 16:34:48 +00:00
|
|
|
- if deployment.ref
|
2016-08-05 19:08:39 +00:00
|
|
|
.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
|
2016-08-05 19:08:39 +00:00
|
|
|
= 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
|
2016-08-08 16:39:24 +00:00
|
|
|
= 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
|