gitlab-org--gitlab-foss/app/views/projects/environments/_external_url.html.haml
Jose Ivan Vargas f2238a9b92 Added the following ux improvements:
* Add text for the buttons on environment detail page
* Reduced the size of the charts
* Environment name is now a link

Also some general code cleanup
2017-04-03 10:38:16 -05:00

4 lines
245 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
= icon('external-link')
View deployment