diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2016-10-21 15:40:16 +0100 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2016-11-16 11:57:55 +0000 |
commit | 843e5642369e20d138e2053e50de4481dcb3f9ef (patch) | |
tree | a3a6c9768da8aadc63186a4eeccb1020087c842e /app/views | |
parent | dc46dc1d5f873e1a0aeaacca2b02614c9c79f79b (diff) | |
download | gitlab-ce-843e5642369e20d138e2053e50de4481dcb3f9ef.tar.gz |
Adds commit links
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/projects/environments/components/_commit.html.haml | 3 |
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 |