1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-26 08:42:41 +01:00

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:
Ricky Elrod 2011-07-17 04:01:38 -04:00 committed by epriestley
parent d2954dae40
commit 3ed0e84a63

View file

@ -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',
));