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

4 lines
197 B
Text
Raw Normal View History

2016-11-03 12:29:30 +05:30
- 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')