mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-30 01:10:58 +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())
|
||||
->setVote($question->getUserVote());
|
||||
|
||||
$view->addSectionHeader(pht('Question'));
|
||||
$view->addTextContent(
|
||||
array(
|
||||
$votable,
|
||||
|
@ -361,6 +362,7 @@ final class PonderQuestionViewController extends PonderController {
|
|||
->setCount($answer->getVoteCount())
|
||||
->setVote($answer->getUserVote());
|
||||
|
||||
$view->addSectionHeader(pht('Answer'));
|
||||
$view->addTextContent(
|
||||
array(
|
||||
$votable,
|
||||
|
|
Loading…
Reference in a new issue