Project

General

Profile

Feature #883 » base_layout_kindle_handheld_support.diff

Predrag Radovic, 2012-01-28 22:49

View differences:

app/views/layouts/base.rhtml 2012-01-28 21:46:33.000000000 +0000
7 7
<meta name="keywords" content="issue,bug,tracker" />
8 8
<%= csrf_meta_tag %>
9 9
<%= favicon %>
10
<%= stylesheet_link_tag 'application', :media => 'all' %>
10
<%= stylesheet_link_tag (if request.headers["HTTP_USER_AGENT"].downcase.match('kindle') then 'application_handheld' else 'application' end), :media => 'all' %>
11 11
<%= stylesheet_link_tag 'rtl', :media => 'all' if l(:direction) == 'rtl' %>
12 12
<%= javascript_heads %>
13 13
<%= heads_for_theme %>
(2-2/2)