1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-23 07:12:41 +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()); $project->getName());
$header = id(new PHUIHeaderView()) $header = id(new PHUIHeaderView())
->setHeader($header_link) ->setHeader(pht('%s Workboard', $header_link))
->setUser($viewer) ->setUser($viewer)
->setNoBackground(true) ->setNoBackground(true)
->setImage($project->getProfileImageURI())
->setImageURL($this->getApplicationURI('profile/'.$project->getID().'/'))
->addActionLink($sort_menu) ->addActionLink($sort_menu)
->addActionLink($filter_menu) ->addActionLink($filter_menu)
->addActionLink($manage_menu) ->addActionLink($manage_menu)

View file

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