debian-mirror-gitlab/app/views/projects/environments/_external_url.html.haml
2021-01-30 21:13:34 +05:30

4 lines
349 B
Text

- if environment.external_url && can?(current_user, :read_environment, environment)
= 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
= sprite_icon('external-link')
= _("View deployment")