mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-24 21:48:21 +01:00
Calendar event monograms, part 2. Calendar event monogram should appear in the object crumbs and page titles.
Summary: Ref T7928, Calendar event monograms, part 2. Calendar event monogram should appear in the object crumbs and page titles. Test Plan: Create calendar event, event details page should show a clickable crumb, E{id}, and clicking edit should show a page where the crumbs show E{id} > Update Event Reviewers: #blessed_reviewers, epriestley Reviewed By: #blessed_reviewers, epriestley Subscribers: epriestley, Korvin Maniphest Tasks: T7928 Differential Revision: https://secure.phabricator.com/D12579
This commit is contained in:
parent
7a9c1ea0b4
commit
5b56aa3c6d
2 changed files with 9 additions and 5 deletions
|
@ -183,9 +183,13 @@ final class PhabricatorCalendarEventEditController
|
||||||
$nav = $this->buildSideNavView($status);
|
$nav = $this->buildSideNavView($status);
|
||||||
$nav->selectFilter($filter);
|
$nav->selectFilter($filter);
|
||||||
|
|
||||||
$crumbs = $this
|
$crumbs = $this->buildApplicationCrumbs();
|
||||||
->buildApplicationCrumbs()
|
|
||||||
->addTextCrumb($page_title);
|
if (!$this->isCreate()) {
|
||||||
|
$crumbs->addTextCrumb('E'.$status->getId(), '/E'.$status->getId());
|
||||||
|
}
|
||||||
|
|
||||||
|
$crumbs->addTextCrumb($page_title);
|
||||||
|
|
||||||
$nav->appendChild(
|
$nav->appendChild(
|
||||||
array(
|
array(
|
||||||
|
|
|
@ -25,9 +25,9 @@ final class PhabricatorCalendarEventViewController
|
||||||
return new Aphront404Response();
|
return new Aphront404Response();
|
||||||
}
|
}
|
||||||
|
|
||||||
$title = pht('Event %d', $event->getID());
|
$title = 'E'.$event->getID();
|
||||||
$crumbs = $this->buildApplicationCrumbs();
|
$crumbs = $this->buildApplicationCrumbs();
|
||||||
$crumbs->addTextCrumb($title);
|
$crumbs->addTextCrumb($title, '/E'.$event->getID());
|
||||||
|
|
||||||
$header = $this->buildHeaderView($event);
|
$header = $this->buildHeaderView($event);
|
||||||
$actions = $this->buildActionView($event);
|
$actions = $this->buildActionView($event);
|
||||||
|
|
Loading…
Add table
Reference in a new issue