Touch up Subscriber List Dialog

Summary: Reduces images in ObjectLists to 40px over 50px, adds ability to show stackable lists in dialogs. Fixes T4891

Test Plan:
Tested People, Projects, Subscriber lists.

{F164265}

{F164264}

{F164266}

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: epriestley, Korvin

Maniphest Tasks: T4891

Differential Revision: https://secure.phabricator.com/D9426
This commit is contained in:
Chad Little
2014-06-07 21:43:04 -07:00
parent 7d255aedba
commit 7b97d006a5
7 changed files with 45 additions and 31 deletions

View File

@@ -20,6 +20,7 @@ final class AphrontDialogView extends AphrontView {
private $disableWorkflowOnCancel;
private $width = 'default';
private $errors;
private $flush;
const WIDTH_DEFAULT = 'default';
const WIDTH_FORM = 'form';
@@ -107,6 +108,11 @@ final class AphrontDialogView extends AphrontView {
return $this;
}
public function setFlush($flush) {
$this->flush = $flush;
return $this;
}
public function setRenderDialogAsDiv() {
// TODO: This API is awkward.
$this->renderAsForm = false;
@@ -201,6 +207,9 @@ final class AphrontDialogView extends AphrontView {
}
$more = $this->class;
if ($this->flush) {
$more .= ' aphront-dialog-flush';
}
switch ($this->width) {
case self::WIDTH_FORM: