Skip to content

Commit 5fdae4b

Browse files
committed
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
1 parent 29c7de6 commit 5fdae4b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/applications/ponder/controller/PonderQuestionViewController.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ private function buildPropertyListView(
160160
->setCount($question->getVoteCount())
161161
->setVote($question->getUserVote());
162162

163+
$view->addSectionHeader(pht('Question'));
163164
$view->addTextContent(
164165
array(
165166
$votable,
@@ -361,6 +362,7 @@ private function buildAnswerProperties(
361362
->setCount($answer->getVoteCount())
362363
->setVote($answer->getUserVote());
363364

365+
$view->addSectionHeader(pht('Answer'));
364366
$view->addTextContent(
365367
array(
366368
$votable,

0 commit comments

Comments
 (0)