Fixed: page has no title when adding a project (#1436).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1526 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
b42b697ffb
commit
d2ad4edc86
|
@ -36,7 +36,7 @@
|
|||
<%= render :partial => 'layouts/project_selector' if User.current.memberships.any? %>
|
||||
</div>
|
||||
|
||||
<h1><%= h(@project ? @project.name : Setting.app_title) %></h1>
|
||||
<h1><%= h(@project && !@project.new_record? ? @project.name : Setting.app_title) %></h1>
|
||||
|
||||
<div id="main-menu">
|
||||
<%= render_main_menu(@project) %>
|
||||
|
|
Loading…
Reference in New Issue