binds the ie alert close link to a cookie that will be checked before showing the alert the next time

This commit is contained in:
David Gil
2015-09-18 01:25:55 +02:00
parent 61f1dfe2e8
commit e8f1d627b1
4 changed files with 13 additions and 3 deletions

View File

@@ -23,9 +23,9 @@
<%= render 'layouts/header' %>
<!--[if lt IE 9]>
<% if browser.ie? %>
<% if browser.ie? && cookies['ie_alert_closed'] != 'true' %>
<div data-alert class="alert-box info ie-alert-box">
<a href="#" class="close">&times;</a>
<a href="#" class="close ie-alert-box-close-js">&times;</a>
<h2><%= t("layouts.application.ie_title") %></h2>
<p>
<%= t("layouts.application.ie",