summaryrefslogtreecommitdiff
path: root/app/views/projects/environments
diff options
context:
space:
mode:
authorLuke "Jared" Bennett <lbennett@gitlab.com>2017-02-09 19:35:52 +0000
committerLuke "Jared" Bennett <lbennett@gitlab.com>2017-02-10 17:06:24 +0000
commit6bf04498f252a7aa9789a2182f61a3ea92fe0b2a (patch)
tree3151d595e706ba9fe0003c02a78ac017ac5fa26c /app/views/projects/environments
parent75092d9647bab00070b0b77f0fe1050d900a39a1 (diff)
downloadgitlab-ce-6bf04498f252a7aa9789a2182f61a3ea92fe0b2a.tar.gz
Added env external link and light web terminal spec27336-add-environment-url-link-to-terminal-page
Diffstat (limited to 'app/views/projects/environments')
-rw-r--r--app/views/projects/environments/terminal.html.haml2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/projects/environments/terminal.html.haml b/app/views/projects/environments/terminal.html.haml
index 1d49e9cbaf7..ef0dd0eda3c 100644
--- a/app/views/projects/environments/terminal.html.haml
+++ b/app/views/projects/environments/terminal.html.haml
@@ -16,6 +16,8 @@
.col-sm-6
.nav-controls
+ = link_to @environment.external_url, class: 'btn btn-default' do
+ = icon('external-link')
= render 'projects/deployments/actions', deployment: @environment.last_deployment
.terminal-container{ class: container_class }