2017-06-08 01:15:40 +00:00
|
|
|
.table-mobile-content
|
2019-04-25 18:49:13 +00:00
|
|
|
.branch-commit.cgray
|
2017-06-08 01:15:40 +00:00
|
|
|
- if deployment.ref
|
2020-09-29 09:09:49 +00:00
|
|
|
%span.icon-container.gl-display-inline-block
|
2020-12-09 15:10:12 +00:00
|
|
|
= deployment.tag? ? sprite_icon('tag', css_class: 'sprite') : sprite_icon('fork', css_class: 'sprite')
|
2017-06-08 01:15:40 +00: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 15:22:01 +00:00
|
|
|
= link_to deployment.short_sha, project_commit_path(@project, deployment.sha), class: "commit-sha mr-0"
|
2016-06-14 16:34:48 +00:00
|
|
|
|
2017-06-08 01:15:40 +00: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 18:49:13 +00:00
|
|
|
= link_to_markdown commit_title, project_commit_path(@project, deployment.sha), class: "commit-row-message cgray"
|
2017-06-08 01:15:40 +00:00
|
|
|
- else
|
2018-06-14 12:13:47 +00:00
|
|
|
= _("Can't find HEAD commit for this branch")
|