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

Remove project icon in a few places

Summary: Reduces visual duplication in a few places.

Test Plan: Review pages in sandbox, see image removed.

Reviewers: btrahan, epriestley

Reviewed By: epriestley

Subscribers: Korvin, epriestley

Differential Revision: https://secure.phabricator.com/D11354
This commit is contained in:
Chad Little 2015-01-12 14:48:29 -08:00
parent 46913f651e
commit f3db0891c7
2 changed files with 2 additions and 5 deletions

View file

@ -303,11 +303,9 @@ final class PhabricatorProjectBoardViewController
$project->getName());
$header = id(new PHUIHeaderView())
->setHeader($header_link)
->setHeader(pht('%s Workboard', $header_link))
->setUser($viewer)
->setNoBackground(true)
->setImage($project->getProfileImageURI())
->setImageURL($this->getApplicationURI('profile/'.$project->getID().'/'))
->addActionLink($sort_menu)
->addActionLink($filter_menu)
->addActionLink($manage_menu)

View file

@ -32,8 +32,7 @@ final class PhabricatorProjectEditMainController
$header = id(new PHUIHeaderView())
->setHeader(pht('Edit %s', $project->getName()))
->setUser($viewer)
->setPolicyObject($project)
->setImage($project->getProfileImageURI());
->setPolicyObject($project);
if ($project->getStatus() == PhabricatorProjectStatus::STATUS_ACTIVE) {
$header->setStatus('fa-check', 'bluegrey', pht('Active'));