Project

General

Profile

Actions

Defect #1436

closed

Bad rendering on projects/add

Added by Pierre Paysant-Le Roux almost 16 years ago. Updated almost 16 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
UI
Target version:
Start date:
2008-06-12
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

  • Go to /projects/add (must be admin) (note that the page has no title)
  • Enter only in the form
  • Click save button

Error are reported and the page is scrambled. Observed on Firefox 2 and 3.

A workaround is to replace this line of app/views/layouts/base.rhtml
<h1><%= h(@project ? @project.name : Setting.app_title) %></h1>
by this one
<h1><%= h((@project and !@project.name.blank?) ? @project.name : Setting.app_title) %></h1>

Actions

Also available in: Atom PDF