Skip to content

Commit 31984a7

Browse files
committedMar 10, 2016
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
1 parent e351eba commit 31984a7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎src/applications/maniphest/controller/ManiphestTaskDetailController.php

+2
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,8 @@ private function buildCurtain(
244244
$author_href = $handles[$author_phid]->getURI();
245245
$author = $viewer->renderHandle($author_phid)->render();
246246
$content = phutil_tag('strong', array(), $author);
247+
$date = phabricator_date($task->getDateCreated(), $viewer);
248+
$content = pht('%s, %s', $content, $date);
247249
$authored_by = id(new PHUIHeadThingView())
248250
->setImage($author_uri)
249251
->setImageHref($author_href)

0 commit comments

Comments
 (0)
Failed to load comments.