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

5 lines
313 B
Text
Raw Normal View History

2016-11-03 12:29:30 +05:30
- if environment.external_url && can?(current_user, :read_environment, environment)
2018-11-18 11:00:15 +05:30
= link_to environment.external_url, target: '_blank', rel: 'noopener noreferrer', class: 'btn external-url has-tooltip', title: s_('Environments|Open live environment') do
2018-11-08 19:23:39 +05:30
= sprite_icon('external-link')
2017-08-17 22:00:37 +05:30
View deployment