Add an ID column to slowvote's list view.
Summary: Add an ID column to slowvote's list view. Test Plan: Suddenly, an ID column was there. :D Reviewed By: epriestley Differential Revision: 686
This commit is contained in:
@@ -58,13 +58,14 @@ class PhabricatorSlowvoteListController
|
||||
$rows = array();
|
||||
foreach ($polls as $poll) {
|
||||
$rows[] = array(
|
||||
$handles[$poll->getAuthorPHID()]->renderLink(),
|
||||
'V'.$poll->getID(),
|
||||
phutil_render_tag(
|
||||
'a',
|
||||
array(
|
||||
'href' => '/V'.$poll->getID(),
|
||||
),
|
||||
phutil_escape_html('V'.$poll->getID().' '.$poll->getQuestion())),
|
||||
phutil_escape_html($poll->getQuestion())),
|
||||
$handles[$poll->getAuthorPHID()]->renderLink(),
|
||||
phabricator_date($poll->getDateCreated(), $user),
|
||||
phabricator_time($poll->getDateCreated(), $user),
|
||||
);
|
||||
@@ -76,12 +77,14 @@ class PhabricatorSlowvoteListController
|
||||
'',
|
||||
'pri wide',
|
||||
'',
|
||||
'',
|
||||
'right',
|
||||
));
|
||||
$table->setHeaders(
|
||||
array(
|
||||
'Author',
|
||||
'ID',
|
||||
'Poll',
|
||||
'Author',
|
||||
'Date',
|
||||
'Time',
|
||||
));
|
||||
|
||||
Reference in New Issue
Block a user