mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-15 03:12:41 +01:00
3328e78a7b
Summary: Ref T10923. This cleans up the remaining "pro" mess left by the cutover. Test Plan: Viewed, managed, edited a repository. Reviewers: chad Reviewed By: chad Maniphest Tasks: T10923 Differential Revision: https://secure.phabricator.com/D15871
25 lines
557 B
PHP
25 lines
557 B
PHP
<?php
|
|
|
|
abstract class DiffusionRepositoryManageController
|
|
extends DiffusionController {
|
|
|
|
protected function buildApplicationCrumbs() {
|
|
$crumbs = parent::buildApplicationCrumbs();
|
|
|
|
if ($this->hasDiffusionRequest()) {
|
|
$drequest = $this->getDiffusionRequest();
|
|
$repository = $drequest->getRepository();
|
|
|
|
$crumbs->addTextCrumb(
|
|
$repository->getDisplayName(),
|
|
$repository->getURI());
|
|
|
|
$crumbs->addTextCrumb(
|
|
pht('Manage'),
|
|
$repository->getPathURI('manage/'));
|
|
}
|
|
|
|
return $crumbs;
|
|
}
|
|
|
|
}
|