From 8a60e741d7385fddb4f3ebe3e366a311fed82359 Mon Sep 17 00:00:00 2001 From: Jacques Distler Date: Sun, 8 Feb 2009 03:45:38 -0600 Subject: [PATCH] Only Display the Logo in XHTML-capable Text-Filters Textile and RDoc users can't see the SVG anyway, so don't bother rendering it. --- app/views/layouts/default.rhtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/layouts/default.rhtml b/app/views/layouts/default.rhtml index 63a49647..3464c723 100644 --- a/app/views/layouts/default.rhtml +++ b/app/views/layouts/default.rhtml @@ -39,7 +39,7 @@

- <%= render(:file => 'svg_logo') %> + <%= render(:file => 'svg_logo') if @controller.xhtml_enabled? %> <%- if @page and (@page.name == 'HomePage') and %w( show published print ).include?(@action_name) -%> <%= h(@web.name) + (@show_diff ? ' (changes)' : '') %> <%- elsif @web -%>