Commit b20fd5c7 authored by Filipa Lacerda's avatar Filipa Lacerda

Adds commit sha link

parent 843e5642
...@@ -14,8 +14,7 @@ ...@@ -14,8 +14,7 @@
.icon-container.commit-icon .icon-container.commit-icon
= custom_icon("icon_commit") = custom_icon("icon_commit")
%a.commit-id.monospace{":href" => ""} %a.commit-id.monospace{":href" => "'/' + model.project.namespace.name + '/' + model.project.name + '/commit/' +model.last_deployment.sha"}
-# need commit url built with commit sha
{{model.last_deployment.short_sha}} {{model.last_deployment.short_sha}}
%p.commit-title %p.commit-title
...@@ -24,8 +23,7 @@ ...@@ -24,8 +23,7 @@
-# need commit author username and avatar_url -# need commit author username and avatar_url
commit author goes here commit author goes here
%a.commit-row-message{":href" => ""} %a.commit-row-message{":href" => "'/' + model.project.namespace.name + '/' + model.project.name + '/commit/' +model.last_deployment.sha"}
-# need commit url built with commit sha
{{model.last_deployment.commit_title}} {{model.last_deployment.commit_title}}
%span{ "v-if" => "!model.last_deployment.commit_title"} %span{ "v-if" => "!model.last_deployment.commit_title"}
......
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