debian-mirror-gitlab/app/views/shared/_outdated_browser.html.haml

9 lines
720 B
Text
Raw Normal View History

2015-04-26 12:48:37 +05:30
- if outdated_browser?
2020-04-08 14:13:33 +05:30
.gl-alert.gl-alert-danger.outdated-browser{ :role => "alert" }
2020-10-24 23:57:45 +05:30
= sprite_icon('error', css_class: "gl-alert-icon gl-alert-icon-no-title gl-icon")
2020-04-08 14:13:33 +05:30
.gl-alert-body
2020-11-24 15:15:51 +05:30
= s_('OutdatedBrowser|GitLab may not work properly, because you are using an outdated web browser.')
2018-03-17 18:26:18 +05:30
%br
2020-04-08 14:13:33 +05:30
- 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 }