Bug #1343: Only closed projects in company view perspective are displayed in grey

The tasks inside closed projects are now being shown as usual, and not marked
as closed projects in the company view.

FEA: ItEr76S04BugFixing
This commit is contained in:
Lorenzo Tilve Álvaro 2012-02-15 16:49:39 +01:00
parent 9b43190d0b
commit aeffc18fe6

View file

@ -220,7 +220,7 @@ public class TaskComponent extends Div implements AfterCompose {
cssClass += task.isLimitingAndHasDayAssignments() ? " limiting-assigned "
: " limiting-unassigned ";
}
if (task.belongsClosedProject()) {
if (task.isRoot() && task.belongsClosedProject()) {
cssClass += " project-closed ";
}
return cssClass;