mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 00:42:41 +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:
parent
e8c7e3883c
commit
7ea925d33c
1 changed files with 6 additions and 0 deletions
|
@ -362,6 +362,10 @@ final class PhabricatorPasteListController extends PhabricatorPasteController {
|
|||
'href' => $file_uri,
|
||||
),
|
||||
phutil_escape_html($paste->getFilePHID())),
|
||||
|
||||
phabricator_datetime(
|
||||
$paste->getDateCreated(),
|
||||
$this->getRequest()->getUser()),
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -374,6 +378,7 @@ final class PhabricatorPasteListController extends PhabricatorPasteController {
|
|||
'Language',
|
||||
'Title',
|
||||
'File',
|
||||
'Created',
|
||||
));
|
||||
|
||||
$table->setColumnClasses(
|
||||
|
@ -383,6 +388,7 @@ final class PhabricatorPasteListController extends PhabricatorPasteController {
|
|||
null,
|
||||
'wide pri',
|
||||
null,
|
||||
'right',
|
||||
));
|
||||
|
||||
$panel = new AphrontPanelView();
|
||||
|
|
Loading…
Reference in a new issue