diff --git a/app/views/layouts/default.rhtml b/app/views/layouts/default.rhtml index 6857e366..c1a8489c 100644 --- a/app/views/layouts/default.rhtml +++ b/app/views/layouts/default.rhtml @@ -3,13 +3,12 @@ <%- 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 -%> <%= @title %> in <%= h @web.name -%> <%- else -%> <%= @title %> <%- end -%> - <%= @show_diff ? ' (changes)' : '' %>