PHUIErrorView
Summary: Clean up the error view styling.
Test Plan:
Tested as many as I could find, built additional tests in UIExamples
{F280452}
{F280453}
Reviewers: btrahan, epriestley
Reviewed By: epriestley
Subscribers: hach-que, Korvin, epriestley
Differential Revision: https://secure.phabricator.com/D11605
This commit is contained in:
@@ -30,8 +30,8 @@ final class PonderQuestionViewController extends PonderController {
|
||||
|
||||
$authors = mpull($question->getAnswers(), null, 'getAuthorPHID');
|
||||
if (isset($authors[$user->getPHID()])) {
|
||||
$answer_add_panel = id(new AphrontErrorView())
|
||||
->setSeverity(AphrontErrorView::SEVERITY_NODATA)
|
||||
$answer_add_panel = id(new PHUIErrorView())
|
||||
->setSeverity(PHUIErrorView::SEVERITY_NODATA)
|
||||
->appendChild(
|
||||
pht(
|
||||
'You have already answered this question. You can not answer '.
|
||||
|
||||
Reference in New Issue
Block a user