mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 00:42:41 +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->selectFilter($filter);
|
||||
|
||||
$crumbs = $this
|
||||
->buildApplicationCrumbs()
|
||||
->addTextCrumb($page_title);
|
||||
$crumbs = $this->buildApplicationCrumbs();
|
||||
|
||||
if (!$this->isCreate()) {
|
||||
$crumbs->addTextCrumb('E'.$status->getId(), '/E'.$status->getId());
|
||||
}
|
||||
|
||||
$crumbs->addTextCrumb($page_title);
|
||||
|
||||
$nav->appendChild(
|
||||
array(
|
||||
|
|
|
@ -25,9 +25,9 @@ final class PhabricatorCalendarEventViewController
|
|||
return new Aphront404Response();
|
||||
}
|
||||
|
||||
$title = pht('Event %d', $event->getID());
|
||||
$title = 'E'.$event->getID();
|
||||
$crumbs = $this->buildApplicationCrumbs();
|
||||
$crumbs->addTextCrumb($title);
|
||||
$crumbs->addTextCrumb($title, '/E'.$event->getID());
|
||||
|
||||
$header = $this->buildHeaderView($event);
|
||||
$actions = $this->buildActionView($event);
|
||||
|
|
Loading…
Reference in a new issue