2017-06-07 21:15:40 -04:00
|
|
|
.table-mobile-content
|
|
|
|
.branch-commit
|
|
|
|
- if deployment.ref
|
|
|
|
%span.icon-container
|
2017-12-06 13:38:35 -05:00
|
|
|
= deployment.tag? ? icon('tag') : sprite_icon('fork', css_class: 'sprite')
|
2017-06-07 21:15:40 -04:00
|
|
|
= link_to deployment.ref, project_ref_path(@project, deployment.ref), class: "ref-name"
|
|
|
|
.icon-container.commit-icon
|
|
|
|
= custom_icon("icon_commit")
|
2019-04-08 11:22:01 -04:00
|
|
|
= link_to deployment.short_sha, project_commit_path(@project, deployment.sha), class: "commit-sha mr-0"
|
2016-06-14 12:34:48 -04:00
|
|
|
|
2017-06-07 21:15:40 -04:00
|
|
|
%p.commit-title.flex-truncate-parent
|
|
|
|
%span.flex-truncate-child
|
|
|
|
- if commit_title = deployment.commit_title
|
|
|
|
= author_avatar(deployment.commit, size: 20)
|
2017-08-23 12:53:29 -04:00
|
|
|
= link_to_markdown commit_title, project_commit_path(@project, deployment.sha), class: "commit-row-message"
|
2017-06-07 21:15:40 -04:00
|
|
|
- else
|
2018-06-14 08:13:47 -04:00
|
|
|
= _("Can't find HEAD commit for this branch")
|