mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-23 05:50:55 +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:
parent
f5aa92ecda
commit
2c5c6f5915
1 changed files with 6 additions and 4 deletions
|
@ -114,10 +114,12 @@ final class PhabricatorProjectListController
|
|||
->setHeader($row[0])
|
||||
->setHref($row[1])
|
||||
->addIcon($row[3], $row[2])
|
||||
->addIcon('edit', pht('Edit Project'), $row[7])
|
||||
->addAttribute($row[4])
|
||||
->addAttribute($row[5])
|
||||
->addAttribute($row[6]);
|
||||
->addIcon('edit', pht('Edit Project'), $row[7]);
|
||||
if ($row[4]) {
|
||||
$item->addAttribute($row[4]);
|
||||
}
|
||||
$item->addAttribute($row[5]);
|
||||
$item->addAttribute($row[6]);
|
||||
$list->addItem($item);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue