Changeset View
Changeset View
Standalone View
Standalone View
src/view/AphrontDialogView.php
| Show First 20 Lines • Show All 209 Lines • ▼ Show 20 Lines | if ($this->cancelURI) { | ||||
| 'sigil' => 'jx-workflow-button', | 'sigil' => 'jx-workflow-button', | ||||
| 'meta' => $meta, | 'meta' => $meta, | ||||
| ), | ), | ||||
| $this->cancelText); | $this->cancelText); | ||||
| } | } | ||||
| if (!$this->user) { | if (!$this->user) { | ||||
| throw new Exception( | throw new Exception( | ||||
| pht('You must call setUser() when rendering an AphrontDialogView.')); | pht( | ||||
| 'You must call %s when rendering an %s.', | |||||
| 'setUser()', | |||||
| __CLASS__)); | |||||
| } | } | ||||
| $more = $this->class; | $more = $this->class; | ||||
| if ($this->flush) { | if ($this->flush) { | ||||
| $more .= ' aphront-dialog-flush'; | $more .= ' aphront-dialog-flush'; | ||||
| } | } | ||||
| switch ($this->width) { | switch ($this->width) { | ||||
| ▲ Show 20 Lines • Show All 129 Lines • Show Last 20 Lines | |||||