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
<meta name="keywords" content="issue,bug,tracker" />
<%= csrf_meta_tag %>
<%= favicon %>
<%= stylesheet_link_tag 'application', :media => 'all' %>
<%= stylesheet_link_tag (if request.headers["HTTP_USER_AGENT"].downcase.match('kindle') then 'application_handheld' else 'application' end), :media => 'all' %>
<%= stylesheet_link_tag 'rtl', :media => 'all' if l(:direction) == 'rtl' %>
<%= javascript_heads %>
<%= heads_for_theme %>
(2-2/2)