2016-06-16 23:09:34 +05:30
|
|
|
%div.branch-commit
|
|
|
|
- if deployment.ref
|
2016-09-13 17:45:13 +05:30
|
|
|
.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"
|
|
|
|
.icon-container
|
|
|
|
= custom_icon("icon_commit")
|
2016-06-16 23:09:34 +05:30
|
|
|
= 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-09-13 17:45:13 +05:30
|
|
|
= author_avatar(deployment.commit, size: 20)
|
2016-06-16 23:09:34 +05:30
|
|
|
= 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
|