debian-mirror-gitlab/app/views/projects/environments/_external_url.html.haml

5 lines
349 B
Text
Raw Normal View History

2016-11-03 12:29:30 +05:30
- if environment.external_url && can?(current_user, :read_environment, environment)
2021-01-29 00:20:46 +05:30
= link_to environment.external_url, target: '_blank', rel: 'noopener noreferrer', class: 'gl-button 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")