Tweak Diff View of HomePage

This commit is contained in:
Jacques Distler 2008-12-15 16:31:39 -06:00
parent 65c08e1090
commit 9237858256

View file

@ -3,13 +3,12 @@
<head> <head>
<title> <title>
<%- if @page and (@page.name == 'HomePage') and (%w( show published print ).include?(params['action'])) -%> <%- if @page and (@page.name == 'HomePage') and (%w( show published print ).include?(params['action'])) -%>
<%= h @web.name -%> <%= h(@web.name) + (@show_diff ? ' (changes)' : '') %>
<%- elsif @web -%> <%- elsif @web -%>
<%= @title %> in <%= h @web.name -%> <%= @title %> in <%= h @web.name -%>
<%- else -%> <%- else -%>
<%= @title %> <%= @title %>
<%- end -%> <%- end -%>
<%= @show_diff ? ' (changes)' : '' %>
</title> </title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />