mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-20 12:30:56 +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:
parent
65cdfa292f
commit
44dee47c28
1 changed files with 2 additions and 2 deletions
|
@ -27,10 +27,10 @@ final class HarbormasterPlanViewController extends HarbormasterPlanController {
|
||||||
new HarbormasterBuildPlanTransactionQuery());
|
new HarbormasterBuildPlanTransactionQuery());
|
||||||
$timeline->setShouldTerminate(true);
|
$timeline->setShouldTerminate(true);
|
||||||
|
|
||||||
$title = pht('Plan %d', $id);
|
$title = $plan->getName();
|
||||||
|
|
||||||
$header = id(new PHUIHeaderView())
|
$header = id(new PHUIHeaderView())
|
||||||
->setHeader($title)
|
->setHeader($plan->getName())
|
||||||
->setUser($viewer)
|
->setUser($viewer)
|
||||||
->setPolicyObject($plan);
|
->setPolicyObject($plan);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue