mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-21 04:50:55 +01:00
Add q/a subheaders to ponder
Summary: Helps make it seem more q/a like and consistent. Test Plan: Look at question Reviewers: epriestley Reviewed By: epriestley CC: Korvin, epriestley, aran Differential Revision: https://secure.phabricator.com/D7450
This commit is contained in:
parent
29c7de621e
commit
5fdae4b6eb
1 changed files with 2 additions and 0 deletions
|
@ -160,6 +160,7 @@ final class PonderQuestionViewController extends PonderController {
|
||||||
->setCount($question->getVoteCount())
|
->setCount($question->getVoteCount())
|
||||||
->setVote($question->getUserVote());
|
->setVote($question->getUserVote());
|
||||||
|
|
||||||
|
$view->addSectionHeader(pht('Question'));
|
||||||
$view->addTextContent(
|
$view->addTextContent(
|
||||||
array(
|
array(
|
||||||
$votable,
|
$votable,
|
||||||
|
@ -361,6 +362,7 @@ final class PonderQuestionViewController extends PonderController {
|
||||||
->setCount($answer->getVoteCount())
|
->setCount($answer->getVoteCount())
|
||||||
->setVote($answer->getUserVote());
|
->setVote($answer->getUserVote());
|
||||||
|
|
||||||
|
$view->addSectionHeader(pht('Answer'));
|
||||||
$view->addTextContent(
|
$view->addTextContent(
|
||||||
array(
|
array(
|
||||||
$votable,
|
$votable,
|
||||||
|
|
Loading…
Reference in a new issue