gitlab-org--gitlab-foss/app/views/projects/environments/_external_url.html.haml
2016-10-17 21:06:10 +02:00

3 lines
197 B
Text

- if environment.external_url && can?(current_user, :read_environment, environment)
= link_to environment.external_url, target: '_blank', class: 'btn external-url' do
= icon('external-link')