From f3db0891c772d9e13a0ca1efaa14d8cc2272a819 Mon Sep 17 00:00:00 2001 From: Chad Little Date: Mon, 12 Jan 2015 14:48:29 -0800 Subject: [PATCH] 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 --- .../controller/PhabricatorProjectBoardViewController.php | 4 +--- .../controller/PhabricatorProjectEditMainController.php | 3 +-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/applications/project/controller/PhabricatorProjectBoardViewController.php b/src/applications/project/controller/PhabricatorProjectBoardViewController.php index 014d28a3d3..e1e05068d6 100644 --- a/src/applications/project/controller/PhabricatorProjectBoardViewController.php +++ b/src/applications/project/controller/PhabricatorProjectBoardViewController.php @@ -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) diff --git a/src/applications/project/controller/PhabricatorProjectEditMainController.php b/src/applications/project/controller/PhabricatorProjectEditMainController.php index 7e1826c652..083d650bac 100644 --- a/src/applications/project/controller/PhabricatorProjectEditMainController.php +++ b/src/applications/project/controller/PhabricatorProjectEditMainController.php @@ -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'));