Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13998327
D15341.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
2 KB
Referenced Files
None
Subscribers
None
D15341.diff
View Options
diff --git a/resources/celerity/map.php b/resources/celerity/map.php
--- a/resources/celerity/map.php
+++ b/resources/celerity/map.php
@@ -92,7 +92,7 @@
'rsrc/css/application/policy/policy-edit.css' => '815c66f7',
'rsrc/css/application/policy/policy-transaction-detail.css' => '82100a43',
'rsrc/css/application/policy/policy.css' => '957ea14c',
- 'rsrc/css/application/ponder/ponder-view.css' => 'fdd4629b',
+ 'rsrc/css/application/ponder/ponder-view.css' => '212495e0',
'rsrc/css/application/project/project-card-view.css' => '9418c97d',
'rsrc/css/application/project/project-view.css' => '298b7c5b',
'rsrc/css/application/releeph/releeph-core.css' => '9b3c5733',
@@ -855,7 +855,7 @@
'policy-css' => '957ea14c',
'policy-edit-css' => '815c66f7',
'policy-transaction-detail-css' => '82100a43',
- 'ponder-view-css' => 'fdd4629b',
+ 'ponder-view-css' => '212495e0',
'project-card-view-css' => '9418c97d',
'project-view-css' => '298b7c5b',
'releeph-core' => '9b3c5733',
diff --git a/src/applications/ponder/controller/PonderQuestionViewController.php b/src/applications/ponder/controller/PonderQuestionViewController.php
--- a/src/applications/ponder/controller/PonderQuestionViewController.php
+++ b/src/applications/ponder/controller/PonderQuestionViewController.php
@@ -322,7 +322,12 @@
$header = id(new PHUIHeaderView())
->setHeader('Answers');
- return array($header, $view);
+
+
+ return id(new PHUIBoxView())
+ ->addClass('ponder-answer-section')
+ ->appendChild($header)
+ ->appendChild($view);
}
return null;
diff --git a/src/applications/ponder/storage/PonderAnswer.php b/src/applications/ponder/storage/PonderAnswer.php
--- a/src/applications/ponder/storage/PonderAnswer.php
+++ b/src/applications/ponder/storage/PonderAnswer.php
@@ -17,6 +17,7 @@
protected $content;
protected $mailKey;
protected $status;
+ protected $voteCount;
private $question = self::ATTACHABLE;
private $comments;
@@ -34,7 +35,7 @@
->setContent('')
->attachQuestion($question)
->setAuthorPHID($actor->getPHID())
- ->setVoteCount('0')
+ ->setVoteCount(0)
->setStatus(PonderAnswerStatus::ANSWER_STATUS_VISIBLE);
}
diff --git a/webroot/rsrc/css/application/ponder/ponder-view.css b/webroot/rsrc/css/application/ponder/ponder-view.css
--- a/webroot/rsrc/css/application/ponder/ponder-view.css
+++ b/webroot/rsrc/css/application/ponder/ponder-view.css
@@ -169,7 +169,7 @@
}
.ponder-answer-view .ponder-footer-view {
- margin-top: 24px;
+ margin-top: 16px;
border-top: 1px solid rgba({$alphagrey}, .15);
border-bottom: none;
}
@@ -186,6 +186,10 @@
display: inline-block;
}
+.ponder-answer-section {
+ margin-top: 32px;
+}
+
.ponder-add-answer-header {
margin-top: 64px;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Oct 25, 8:54 AM (3 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6725343
Default Alt Text
D15341.diff (2 KB)
Attached To
Mode
D15341: Fix Ponder Exception, spacing
Attached
Detach File
Event Timeline
Log In to Comment