summaryrefslogtreecommitdiff
path: root/app/views/projects/environments
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2016-10-21 15:40:16 +0100
committerFilipa Lacerda <filipa@gitlab.com>2016-11-16 11:57:55 +0000
commit843e5642369e20d138e2053e50de4481dcb3f9ef (patch)
treea3a6c9768da8aadc63186a4eeccb1020087c842e /app/views/projects/environments
parentdc46dc1d5f873e1a0aeaacca2b02614c9c79f79b (diff)
downloadgitlab-ce-843e5642369e20d138e2053e50de4481dcb3f9ef.tar.gz
Adds commit links
Diffstat (limited to 'app/views/projects/environments')
-rw-r--r--app/views/projects/environments/components/_commit.html.haml3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/views/projects/environments/components/_commit.html.haml b/app/views/projects/environments/components/_commit.html.haml
index b10a2e483ba..cbf76960ac4 100644
--- a/app/views/projects/environments/components/_commit.html.haml
+++ b/app/views/projects/environments/components/_commit.html.haml
@@ -8,8 +8,7 @@
.icon-container{ "v-if" => "!model.last_deployment.tag" }
=icon("code-fork")
- %a.monospace.branch-name{":href" => ""}
- -# need commits branch name url
+ %a.monospace.branch-name{":href" => "'/' + model.project.namespace.name + '/' + model.project.name + '/commits/' +model.last_deployment.ref"}
{{model.last_deployment.ref}}
.icon-container.commit-icon