From 923785825620cddfc984baaf1d932df9ec10933c Mon Sep 17 00:00:00 2001 From: Jacques Distler Date: Mon, 15 Dec 2008 16:31:39 -0600 Subject: [PATCH] Tweak Diff View of HomePage --- app/views/layouts/default.rhtml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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)' : '' %>