mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-26 23:40:57 +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:
parent
d2954dae40
commit
3ed0e84a63
1 changed files with 6 additions and 3 deletions
|
@ -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',
|
||||
));
|
||||
|
|
Loading…
Reference in a new issue