Renames the Terminal button and adds an icon

Makes the terminal open in a new tab
This commit is contained in:
Filipa Lacerda 2018-08-08 17:57:55 +01:00
parent 6f21652f0b
commit ced1b0cbfc
No known key found for this signature in database
GPG key ID: 9CA3FDE4D1E2F1C8
2 changed files with 8 additions and 2 deletions

View file

@ -3,8 +3,9 @@
.blocks-container .blocks-container
- if can?(current_user, :create_build_terminal, @build) - if can?(current_user, :create_build_terminal, @build)
.block .block
= link_to terminal_project_job_path(@project, @build), class: 'terminal-button pull-right btn visible-md-block visible-lg-block', title: 'Terminal' do = link_to terminal_project_job_path(@project, @build), class: 'pull-right btn btn-primary btn-inverted visible-md-block visible-lg-block', target: '_blank' do
Terminal Debug
= icon('external-link')
#js-details-block-vue{ data: { can_user_retry: can?(current_user, :update_build, @build) && @build.retryable? } } #js-details-block-vue{ data: { can_user_retry: can?(current_user, :update_build, @build) && @build.retryable? } }

View file

@ -0,0 +1,5 @@
---
title: Make terminal button more visible
merge_request:
author:
type: changed