Commit a60e6f14 authored by Filipa Lacerda's avatar Filipa Lacerda

Adds commit partial for vue component

parent ea91d9cc
.branch-commit{"v-if" => "!isFolder && model.last_deployment"}
%div{ "v-if" => "model.last_deployment.ref" }
.icon-container{ "v-if" => "model.last_deployment.tag" }
=icon("tag")
.icon-container{ "v-if" => "!model.last_deployment.tag" }
=icon("code-fork")
%a.monospace.branch-name{}
%a.monospace.branch-name{":href" => ""}
{{model.last_deployment.ref}}
.icon-container.commit-icon
= custom_icon("icon_commit")
%a.commit-id.monospace{":href" => ""}
{{model.last_deployment.short_sha}}
{{model.last_deployment.sha}}
%p.commit-title
%span{ "v-if" => "model.last_deployment.commit_title"}
%a.commit-row-message{":href" => ""}
{{model.last_deployment.commit_title}}
%span{ "v-if" => "!model.last_deployment.commit_title"}
Cant find HEAD commit for this branch
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment