1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-22 23:02:42 +01:00

Add a date column to Paste

Summary:
Show modified date on the right of the list view (which I guess
is also the created date, since pastes are immutable?)

Test Plan: Browse through the many volumes of untitled masterworks.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Maniphest Tasks: T1600

Differential Revision: https://secure.phabricator.com/D3145
This commit is contained in:
Alan Huang 2012-08-03 15:39:56 -07:00
parent e8c7e3883c
commit 7ea925d33c

View file

@ -362,6 +362,10 @@ final class PhabricatorPasteListController extends PhabricatorPasteController {
'href' => $file_uri, 'href' => $file_uri,
), ),
phutil_escape_html($paste->getFilePHID())), phutil_escape_html($paste->getFilePHID())),
phabricator_datetime(
$paste->getDateCreated(),
$this->getRequest()->getUser()),
); );
} }
@ -374,6 +378,7 @@ final class PhabricatorPasteListController extends PhabricatorPasteController {
'Language', 'Language',
'Title', 'Title',
'File', 'File',
'Created',
)); ));
$table->setColumnClasses( $table->setColumnClasses(
@ -383,6 +388,7 @@ final class PhabricatorPasteListController extends PhabricatorPasteController {
null, null,
'wide pri', 'wide pri',
null, null,
'right',
)); ));
$panel = new AphrontPanelView(); $panel = new AphrontPanelView();