Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15378353
D16309.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
931 B
Referenced Files
None
Subscribers
None
D16309.diff
View Options
diff --git a/src/applications/calendar/controller/PhabricatorCalendarEventViewController.php b/src/applications/calendar/controller/PhabricatorCalendarEventViewController.php
--- a/src/applications/calendar/controller/PhabricatorCalendarEventViewController.php
+++ b/src/applications/calendar/controller/PhabricatorCalendarEventViewController.php
@@ -26,6 +26,18 @@
$monogram = $event->getMonogram();
$page_title = $monogram.' '.$event->getName();
$crumbs = $this->buildApplicationCrumbs();
+
+ $start = new DateTime('@'.$event->getViewerDateFrom());
+ $start->setTimeZone($viewer->getTimeZone());
+
+ $crumbs->addTextCrumb(
+ $start->format('F Y'),
+ '/calendar/query/month/'.$start->format('Y/m/'));
+
+ $crumbs->addTextCrumb(
+ $start->format('D jS'),
+ '/calendar/query/month/'.$start->format('Y/m/d/'));
+
$crumbs->addTextCrumb($monogram);
$crumbs->setBorder(true);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Mar 14, 1:59 PM (1 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7390600
Default Alt Text
D16309.diff (931 B)
Attached To
Mode
D16309: Add crumbs to Calendar events to return to the month/day view
Attached
Detach File
Event Timeline
Log In to Comment