debian-mirror-gitlab/app/views/projects/deployments/_commit.html.haml

18 lines
848 B
Text
Raw Normal View History

2017-09-10 17:25:29 +05:30
.table-mobile-content
2019-07-31 22:56:46 +05:30
.branch-commit.cgray
2017-09-10 17:25:29 +05:30
- if deployment.ref
2021-01-03 14:25:43 +05:30
%span.icon-container.gl-display-inline-block
2018-03-17 18:26:18 +05:30
= deployment.tag? ? icon('tag') : sprite_icon('fork', css_class: 'sprite')
2017-09-10 17:25:29 +05:30
= link_to deployment.ref, project_ref_path(@project, deployment.ref), class: "ref-name"
.icon-container.commit-icon
= custom_icon("icon_commit")
2019-07-31 22:56:46 +05:30
= link_to deployment.short_sha, project_commit_path(@project, deployment.sha), class: "commit-sha mr-0"
2017-09-10 17:25:29 +05:30
%p.commit-title.flex-truncate-parent
%span.flex-truncate-child
- if commit_title = deployment.commit_title
= author_avatar(deployment.commit, size: 20)
2019-07-31 22:56:46 +05:30
= link_to_markdown commit_title, project_commit_path(@project, deployment.sha), class: "commit-row-message cgray"
2017-09-10 17:25:29 +05:30
- else
2018-11-08 19:23:39 +05:30
= _("Can't find HEAD commit for this branch")