Adds IE popup for IE less than IE9 versions

This commit is contained in:
Alberto Garcia Cabeza
2015-09-16 15:37:47 +02:00
parent 8300040f9b
commit d5274a69c4
4 changed files with 46 additions and 0 deletions

View File

@@ -22,6 +22,23 @@
<div class="wrapper">
<%= render 'layouts/header' %>
<!--[if lt IE 9]>
<% if browser.ie? %>
<div data-alert class="alert-box info ie-alert-box">
<a href="#" class="close">&times;</a>
<h2><%= t("layouts.application.ie_title") %></h2>
<p>
<%= t("layouts.application.ie",
chrome: link_to(
t("layouts.application.chrome"), t("layouts.application.chrome_url"), target: "_blank"),
firefox: link_to(
t("layouts.application.firefox"), t("layouts.application.firefox_url"), target: "_blank")
).html_safe %>
</p>
</div>
<% end %>
<![endif]-->
<% if notice %>
<div class="alert-messages">
<div class="row">