2016-11-03 12:29:30 +05:30
|
|
|
- if environment.external_url && can?(current_user, :read_environment, environment)
|
2018-12-13 13:39:08 +05:30
|
|
|
= link_to environment.external_url, target: '_blank', rel: 'noopener noreferrer', class: 'btn external-url has-tooltip qa-view-deployment', title: s_('Environments|Open live environment') do
|
2018-11-08 19:23:39 +05:30
|
|
|
= sprite_icon('external-link')
|
2018-12-23 12:14:25 +05:30
|
|
|
= _("View deployment")
|