1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-23 14:00:56 +01:00

Fix layout when no project blurb exists.

Summary: If no description, just move other attributes up.

Test Plan: Add a Project with no description, layout looks normal now.

Reviewers: epriestley, btrahan

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D4962
This commit is contained in:
Chad Little 2013-02-14 13:55:48 -08:00
parent f5aa92ecda
commit 2c5c6f5915

View file

@ -114,10 +114,12 @@ final class PhabricatorProjectListController
->setHeader($row[0]) ->setHeader($row[0])
->setHref($row[1]) ->setHref($row[1])
->addIcon($row[3], $row[2]) ->addIcon($row[3], $row[2])
->addIcon('edit', pht('Edit Project'), $row[7]) ->addIcon('edit', pht('Edit Project'), $row[7]);
->addAttribute($row[4]) if ($row[4]) {
->addAttribute($row[5]) $item->addAttribute($row[4]);
->addAttribute($row[6]); }
$item->addAttribute($row[5]);
$item->addAttribute($row[6]);
$list->addItem($item); $list->addItem($item);
} }