Page MenuHomePhabricator

D16300.id39201.diff
No OneTemporary

D16300.id39201.diff

diff --git a/src/applications/calendar/phid/PhabricatorCalendarEventPHIDType.php b/src/applications/calendar/phid/PhabricatorCalendarEventPHIDType.php
--- a/src/applications/calendar/phid/PhabricatorCalendarEventPHIDType.php
+++ b/src/applications/calendar/phid/PhabricatorCalendarEventPHIDType.php
@@ -32,16 +32,16 @@
foreach ($handles as $phid => $handle) {
$event = $objects[$phid];
- $id = $event->getID();
+ $monogram = $event->getMonogram();
$name = $event->getName();
- $is_cancelled = $event->getIsCancelled();
+ $uri = $event->getURI();
$handle
->setName($name)
- ->setFullName(pht('E%d: %s', $id, $name))
- ->setURI('/E'.$id);
+ ->setFullName(pht('%s: %s', $monogram, $name))
+ ->setURI($uri);
- if ($is_cancelled) {
+ if ($event->isCancelledEvent()) {
$handle->setStatus(PhabricatorObjectHandle::STATUS_CLOSED);
}
}

File Metadata

Mime Type
text/plain
Expires
Sat, Feb 1, 1:34 PM (17 h, 29 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7081902
Default Alt Text
D16300.id39201.diff (948 B)

Event Timeline