Commit a4834770 authored by Bryce Johnson's avatar Bryce Johnson

Only hide deploy status external link on small screens.

parent 9802d388
...@@ -51,6 +51,7 @@ v 8.13.0 (unreleased) ...@@ -51,6 +51,7 @@ v 8.13.0 (unreleased)
- Update ruby-prof to 0.16.2. !6026 (Elan Ruusamäe) - Update ruby-prof to 0.16.2. !6026 (Elan Ruusamäe)
- Fix unnecessary escaping of reserved HTML characters in milestone title. !6533 - Fix unnecessary escaping of reserved HTML characters in milestone title. !6533
- Add organization field to user profile - Add organization field to user profile
- Fix deploy status responsiveness error !6633
- Fix resolved discussion display in side-by-side diff view !6575 - Fix resolved discussion display in side-by-side diff view !6575
- Optimize GitHub importing for speed and memory - Optimize GitHub importing for speed and memory
- API: expose pipeline data in builds API (!6502, Guilherme Salazar) - API: expose pipeline data in builds API (!6502, Guilherme Salazar)
......
...@@ -49,11 +49,11 @@ ...@@ -49,11 +49,11 @@
.mr-widget-heading .mr-widget-heading
.ci_widget.ci-success .ci_widget.ci-success
= ci_icon_for_status("success") = ci_icon_for_status("success")
%span.hidden-sm %span
Deployed to Deployed to
= succeed '.' do = succeed '.' do
= link_to environment.name, environment_path(environment), class: 'environment' = link_to environment.name, environment_path(environment), class: 'environment'
- external_url = environment.external_url - external_url = environment.external_url
- if external_url - if external_url
= link_to external_url, target: '_blank' do = link_to external_url, target: '_blank', class: 'hidden-xs' do
= icon('external-link', text: "View on #{external_url.gsub(/\A.*?:\/\//, '')}", right: true) = icon('external-link', text: "View on #{external_url.gsub(/\A.*?:\/\//, '')}", right: true)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment