Differential D17590 Diff 42446 src/applications/conpherence/controller/ConpherenceViewController.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/conpherence/controller/ConpherenceViewController.php
| Show First 20 Lines • Show All 172 Lines • ▼ Show 20 Lines | if ($user->isLoggedIn()) { | ||||
| $action = ConpherenceUpdateActions::JOIN_ROOM; | $action = ConpherenceUpdateActions::JOIN_ROOM; | ||||
| $status = pht('Sending a message will also join the room.'); | $status = pht('Sending a message will also join the room.'); | ||||
| } | } | ||||
| $form = id(new AphrontFormView()) | $form = id(new AphrontFormView()) | ||||
| ->setUser($user) | ->setUser($user) | ||||
| ->setAction($update_uri) | ->setAction($update_uri) | ||||
| ->addSigil('conpherence-pontificate') | ->addSigil('conpherence-pontificate') | ||||
| ->setWorkflow(true) | ->setWorkflow(true) | ||||
epriestley: Should be unnecessary, see below. | |||||
| ->addHiddenInput('action', $action) | ->addHiddenInput('action', $action) | ||||
| ->appendChild( | ->appendChild( | ||||
| id(new PhabricatorRemarkupControl()) | id(new PhabricatorRemarkupControl()) | ||||
| ->setUser($user) | ->setUser($user) | ||||
| ->setName('text') | ->setName('text') | ||||
| ->setSendOnEnter(true) | |||||
Not Done Inline ActionsConsider "Sendon" -> "SendOn" here and elsewhere unless coining an odd neologism. epriestley: Consider "Sendon" -> "SendOn" here and elsewhere unless coining an odd neologism. | |||||
| ->setValue($draft->getDraft())); | ->setValue($draft->getDraft())); | ||||
| $status_view = phutil_tag( | $status_view = phutil_tag( | ||||
| 'div', | 'div', | ||||
| array( | array( | ||||
| 'class' => 'conpherence-room-status', | 'class' => 'conpherence-room-status', | ||||
| 'id' => 'conpherence-room-status', | 'id' => 'conpherence-room-status', | ||||
| ), | ), | ||||
| ▲ Show 20 Lines • Show All 58 Lines • Show Last 20 Lines | |||||
Should be unnecessary, see below.