From 31984a78eeeb8d8a8ef5abe549a1566f1dbf4870 Mon Sep 17 00:00:00 2001 From: Chad Little Date: Thu, 10 Mar 2016 08:58:23 -0800 Subject: [PATCH] Add date to author panel in Maniphest Summary: Adds a date with the author name on the Authored By panel in Maniphest. A basic treatment, will see how it feels. Test Plan: Look at a few tasks Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Differential Revision: https://secure.phabricator.com/D15456 --- .../maniphest/controller/ManiphestTaskDetailController.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/applications/maniphest/controller/ManiphestTaskDetailController.php b/src/applications/maniphest/controller/ManiphestTaskDetailController.php index d944ffb0f4..ceda169489 100644 --- a/src/applications/maniphest/controller/ManiphestTaskDetailController.php +++ b/src/applications/maniphest/controller/ManiphestTaskDetailController.php @@ -244,6 +244,8 @@ final class ManiphestTaskDetailController extends ManiphestController { $author_href = $handles[$author_phid]->getURI(); $author = $viewer->renderHandle($author_phid)->render(); $content = phutil_tag('strong', array(), $author); + $date = phabricator_date($task->getDateCreated(), $viewer); + $content = pht('%s, %s', $content, $date); $authored_by = id(new PHUIHeadThingView()) ->setImage($author_uri) ->setImageHref($author_href)