Tweak Diff View of HomePage
This commit is contained in:
parent
65c08e1090
commit
9237858256
1 changed files with 1 additions and 2 deletions
|
@ -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" />
|
||||||
|
|
Loading…
Reference in a new issue