gitlab-org--gitlab-foss/app/views/projects/environments/_external_url.html.haml
2018-06-27 11:58:26 +03:00

4 lines
252 B
Text

- if environment.external_url && can?(current_user, :read_environment, environment)
= link_to environment.external_url, target: '_blank', rel: 'noopener noreferrer', class: 'btn external-url' do
= sprite_icon('external-link')
View deployment