Allow administrators to configure "Email Format" settings for lists
Summary: Ref T8387. Mostly completeness, but you might want to choose html vs text mail.
Test Plan: {F468203}
Reviewers: btrahan
Reviewed By: btrahan
Subscribers: epriestley
Maniphest Tasks: T8387
Differential Revision: https://secure.phabricator.com/D13137
			
			
This commit is contained in:
		@@ -15,8 +15,17 @@ final class PhabricatorEmailFormatSettingsPanel
 | 
			
		||||
    return pht('Email');
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  public function isEditableByAdministrators() {
 | 
			
		||||
    if ($this->getUser()->getIsMailingList()) {
 | 
			
		||||
      return true;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    return false;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  public function processRequest(AphrontRequest $request) {
 | 
			
		||||
    $user = $request->getUser();
 | 
			
		||||
    $viewer = $this->getViewer();
 | 
			
		||||
    $user = $this->getUser();
 | 
			
		||||
 | 
			
		||||
    $preferences = $user->loadPreferences();
 | 
			
		||||
 | 
			
		||||
@@ -98,7 +107,7 @@ final class PhabricatorEmailFormatSettingsPanel
 | 
			
		||||
 | 
			
		||||
    $form = new AphrontFormView();
 | 
			
		||||
    $form
 | 
			
		||||
      ->setUser($user);
 | 
			
		||||
      ->setUser($viewer);
 | 
			
		||||
 | 
			
		||||
    if (PhabricatorMetaMTAMail::shouldMultiplexAllMail()) {
 | 
			
		||||
      $html_email_control = id(new AphrontFormSelectControl())
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user