Move PHUIErrorView to PHUIInfoView
Summary: Since this element isn't strictly about errors, re-label as info view instead. Test Plan: Grepped for all callsites, tested UIExamples and a few other random pages. Reviewers: btrahan, epriestley Reviewed By: epriestley Subscribers: hach-que, Korvin, epriestley Differential Revision: https://secure.phabricator.com/D11867
This commit is contained in:
@@ -522,7 +522,7 @@ final class ManiphestTaskEditController extends ManiphestController {
|
||||
|
||||
$error_view = null;
|
||||
if ($errors) {
|
||||
$error_view = new PHUIErrorView();
|
||||
$error_view = new PHUIInfoView();
|
||||
$error_view->setErrors($errors);
|
||||
}
|
||||
|
||||
@@ -692,7 +692,7 @@ final class ManiphestTaskEditController extends ManiphestController {
|
||||
|
||||
$field_list->appendFieldsToForm($form);
|
||||
|
||||
require_celerity_resource('phui-error-view-css');
|
||||
require_celerity_resource('phui-info-view-css');
|
||||
|
||||
Javelin::initBehavior('project-create', array(
|
||||
'tokenizerID' => $project_tokenizer_id,
|
||||
|
||||
Reference in New Issue
Block a user