2014-12-15 05:11:38 -05:00
- if outdated_browser?
2020-03-10 14:08:17 -04:00
.gl-alert.gl-alert-danger.outdated-browser{ :role => "alert" }
2020-08-10 14:09:54 -04:00
= sprite_icon('error', css_class: "gl-alert-icon gl-alert-icon-no-title gl-icon")
2020-03-10 14:08:17 -04:00
.gl-alert-body
2020-09-01 14:10:48 -04:00
= s_('OutdatedBrowser|GitLab may not work properly, because you are using an outdated web browser.')
2017-12-06 08:02:56 -05:00
%br
2020-03-10 14:08:17 -04:00
- browser_link_start = '<a href="%{url}" target="_blank" rel="noopener noreferrer">'.html_safe % { url: help_page_path('install/requirements', anchor: 'supported-web-browsers') }
= s_('OutdatedBrowser|Please install a %{browser_link_start}supported web browser%{browser_link_end} for a better experience.').html_safe % { browser_link_start: browser_link_start, browser_link_end: '</a>'.html_safe }