Differential D18526 Diff 44493 src/applications/settings/panel/PhabricatorEmailPreferencesSettingsPanel.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/settings/panel/PhabricatorEmailPreferencesSettingsPanel.php
Show First 20 Lines • Show All 130 Lines • ▼ Show 20 Lines | $form | ||||
->appendChild( | ->appendChild( | ||||
id(new AphrontFormSubmitControl()) | id(new AphrontFormSubmitControl()) | ||||
->setValue(pht('Save Preferences'))); | ->setValue(pht('Save Preferences'))); | ||||
$form_box = id(new PHUIObjectBoxView()) | $form_box = id(new PHUIObjectBoxView()) | ||||
->setHeaderText(pht('Email Preferences')) | ->setHeaderText(pht('Email Preferences')) | ||||
->setFormSaved($request->getStr('saved')) | ->setFormSaved($request->getStr('saved')) | ||||
->setFormErrors($errors) | ->setFormErrors($errors) | ||||
->setBackground(PHUIObjectBoxView::BLUE_PROPERTY) | ->setBackground(PHUIObjectBoxView::WHITE_CONFIG) | ||||
->setForm($form); | ->setForm($form); | ||||
return $form_box; | return $form_box; | ||||
} | } | ||||
private function getAllEditorsWithTags(PhabricatorUser $user = null) { | private function getAllEditorsWithTags(PhabricatorUser $user = null) { | ||||
$editors = id(new PhutilClassMapQuery()) | $editors = id(new PhutilClassMapQuery()) | ||||
->setAncestorClass('PhabricatorApplicationTransactionEditor') | ->setAncestorClass('PhabricatorApplicationTransactionEditor') | ||||
▲ Show 20 Lines • Show All 66 Lines • Show Last 20 Lines |