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.
This commit is contained in:
parent
6b49228aad
commit
8a60e741d7
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@
|
||||||
<div id="Container">
|
<div id="Container">
|
||||||
<div id="Content">
|
<div id="Content">
|
||||||
<h1 id="pageName">
|
<h1 id="pageName">
|
||||||
<%= 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) -%>
|
<%- if @page and (@page.name == 'HomePage') and %w( show published print ).include?(@action_name) -%>
|
||||||
<%= h(@web.name) + (@show_diff ? ' (changes)' : '') %>
|
<%= h(@web.name) + (@show_diff ? ' (changes)' : '') %>
|
||||||
<%- elsif @web -%>
|
<%- elsif @web -%>
|
||||||
|
|
Loading…
Reference in a new issue