Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15374480
D12766.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D12766.diff
View Options
diff --git a/src/applications/calendar/storage/PhabricatorCalendarEventTransaction.php b/src/applications/calendar/storage/PhabricatorCalendarEventTransaction.php
--- a/src/applications/calendar/storage/PhabricatorCalendarEventTransaction.php
+++ b/src/applications/calendar/storage/PhabricatorCalendarEventTransaction.php
@@ -132,6 +132,16 @@
return pht(
"%s updated the event's description.",
$this->renderHandleLink($author_phid));
+ case self::TYPE_ALL_DAY:
+ if ($new) {
+ return pht(
+ '%s made this an all day event.',
+ $this->renderHandleLink($author_phid));
+ } else {
+ return pht(
+ '%s converted this from an all day event.',
+ $this->renderHandleLink($author_phid));
+ }
case self::TYPE_CANCEL:
if ($new) {
return pht(
@@ -291,6 +301,18 @@
'%s updated the description of %s.',
$this->renderHandleLink($author_phid),
$this->renderHandleLink($object_phid));
+ case self::TYPE_ALL_DAY:
+ if ($new) {
+ return pht(
+ '%s made %s an all day event.',
+ $this->renderHandleLink($author_phid),
+ $this->renderHandleLink($object_phid));
+ } else {
+ return pht(
+ '%s converted %s from an all day event.',
+ $this->renderHandleLink($author_phid),
+ $this->renderHandleLink($object_phid));
+ }
case self::TYPE_CANCEL:
if ($new) {
return pht(
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Mar 13, 7:12 PM (1 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7629701
Default Alt Text
D12766.diff (1 KB)
Attached To
Mode
D12766: Adding basic transaction messages for Calendar event updates re:all-day
Attached
Detach File
Event Timeline
Log In to Comment