From c5efa3ecb5d5afa4b6d1c06336993ed84c35bd4b Mon Sep 17 00:00:00 2001 From: epriestley Date: Wed, 5 Oct 2016 11:30:56 -0700 Subject: [PATCH] Swap "Description" and "Invitees / Details" on Calendar event views Summary: Ref T11326. This reorders sections: - Description (if present) - Recurring event series info (if recurring) - Invitees (this also has custom stuff, if it exists) Test Plan: Viewed some events, saw more sensible order. Reviewers: chad Reviewed By: chad Maniphest Tasks: T11326 Differential Revision: https://secure.phabricator.com/D16671 --- .../controller/PhabricatorCalendarEventViewController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/applications/calendar/controller/PhabricatorCalendarEventViewController.php b/src/applications/calendar/controller/PhabricatorCalendarEventViewController.php index 2a1e08ae89..89e8109a4c 100644 --- a/src/applications/calendar/controller/PhabricatorCalendarEventViewController.php +++ b/src/applications/calendar/controller/PhabricatorCalendarEventViewController.php @@ -72,9 +72,9 @@ final class PhabricatorCalendarEventViewController $comment_view, )) ->setCurtain($curtain) - ->addPropertySection($details_header, $details) + ->addPropertySection(pht('Description'), $description) ->addPropertySection($recurring_header, $recurring) - ->addPropertySection(pht('Description'), $description); + ->addPropertySection($details_header, $details); return $this->newPage() ->setTitle($page_title)