1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-18 12:52:42 +01:00

Show build plan name on Harbormaster plan view controller

Summary: Ref T8096.  This shows the build plan name on the Harbormaster build plan view controller.  Without this, the name is not displayed anywhere on the page when you're viewing a build plan's configuration (which makes things confusing if you're updating a bunch of build plans at once).

Test Plan: Viewed a build plan, saw the build plan name on the page.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: epriestley, Korvin

Projects: #harbormaster

Maniphest Tasks: T8096

Differential Revision: https://secure.phabricator.com/D13356
This commit is contained in:
J Rhodes 2015-06-20 14:22:23 +10:00
parent 65cdfa292f
commit 44dee47c28

View file

@ -27,10 +27,10 @@ final class HarbormasterPlanViewController extends HarbormasterPlanController {
new HarbormasterBuildPlanTransactionQuery());
$timeline->setShouldTerminate(true);
$title = pht('Plan %d', $id);
$title = $plan->getName();
$header = id(new PHUIHeaderView())
->setHeader($title)
->setHeader($plan->getName())
->setUser($viewer)
->setPolicyObject($plan);