1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-22 23:02:42 +01:00

Set border on crumbs on Lint page

Summary: Minor, sets the border, corrects a page header.

Test Plan: View lint pages

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

Differential Revision: https://secure.phabricator.com/D18433
This commit is contained in:
Chad Little 2017-08-15 18:58:21 -07:00
parent 19dae88728
commit 5019960b61

View file

@ -167,6 +167,7 @@ final class DiffusionLintController extends DiffusionController {
'path' => true, 'path' => true,
'view' => 'lint', 'view' => 'lint',
)); ));
$crumbs->setBorder(true);
if ($drequest) { if ($drequest) {
$title[] = $drequest->getRepository()->getDisplayName(); $title[] = $drequest->getRepository()->getDisplayName();
@ -178,7 +179,7 @@ final class DiffusionLintController extends DiffusionController {
$branch = $drequest->loadBranch(); $branch = $drequest->loadBranch();
$header = id(new PHUIHeaderView()) $header = id(new PHUIHeaderView())
->setHeader($this->renderPathLinks($drequest, 'lint')) ->setHeader(pht('Lint: %s', $this->renderPathLinks($drequest, 'lint')))
->setUser($viewer) ->setUser($viewer)
->setHeaderIcon('fa-code'); ->setHeaderIcon('fa-code');
$actions = $this->buildActionView($drequest); $actions = $this->buildActionView($drequest);
@ -465,6 +466,7 @@ final class DiffusionLintController extends DiffusionController {
'path' => true, 'path' => true,
'view' => 'lint', 'view' => 'lint',
)); ));
$crumbs->setBorder(true);
$header = id(new PHUIHeaderView()) $header = id(new PHUIHeaderView())
->setHeader(pht('Lint: %s', $drequest->getRepository()->getDisplayName())) ->setHeader(pht('Lint: %s', $drequest->getRepository()->getDisplayName()))