2017-06-07 21:15:40 -04:00
|
|
|
.table-mobile-content
|
2019-04-25 14:49:13 -04:00
|
|
|
.branch-commit.cgray
|
2017-06-07 21:15:40 -04:00
|
|
|
- if deployment.ref
|
2020-09-29 05:09:49 -04:00
|
|
|
%span.icon-container.gl-display-inline-block
|
2020-12-09 10:10:12 -05:00
|
|
|
= deployment.tag? ? sprite_icon('tag', css_class: 'sprite') : 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)
|
2019-04-25 14:49:13 -04:00
|
|
|
= link_to_markdown commit_title, project_commit_path(@project, deployment.sha), class: "commit-row-message cgray"
|
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")
|