mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 00:42:41 +01:00
Fix breadcrumb issue on Macro Create page
Summary: uhoh Test Plan: !!! Reviewers: frgtn, Korvin, btrahan Reviewed By: Korvin CC: aran Differential Revision: https://secure.phabricator.com/D7811
This commit is contained in:
parent
a64d127e25
commit
dd3ed6fdd8
2 changed files with 3 additions and 3 deletions
|
@ -225,7 +225,7 @@ final class PhabricatorMacroEditController
|
|||
$crumb = pht('Create Macro');
|
||||
}
|
||||
|
||||
$crumbs->addCrumb($crumb, $request->getRequestURI());
|
||||
$crumbs->addTextCrumb($crumb, $request->getRequestURI());
|
||||
|
||||
$upload = null;
|
||||
if ($macro->getID()) {
|
||||
|
|
|
@ -135,7 +135,7 @@ abstract class ReleephProjectController extends ReleephController {
|
|||
$project_id = $project->getID();
|
||||
$project_uri = $this->getApplicationURI("project/{$project_id}/");
|
||||
|
||||
$crumbs->addCrumb($project->getName(), $project_uri);
|
||||
$crumbs->addTextCrumb($project->getName(), $project_uri);
|
||||
} catch (Exception $ex) {
|
||||
// TODO: This is derps.
|
||||
}
|
||||
|
@ -143,7 +143,7 @@ abstract class ReleephProjectController extends ReleephController {
|
|||
try {
|
||||
$branch = $this->getReleephBranch();
|
||||
$branch_uri = $branch->getURI();
|
||||
$crumbs->addCrumb($branch->getDisplayNameWithDetail(), $branch_uri);
|
||||
$crumbs->addTextCrumb($branch->getDisplayNameWithDetail(), $branch_uri);
|
||||
} catch (Exception $ex) {
|
||||
// TODO: This is also derps.
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue