Conpherence - make adding participants be a little dialogue.
Summary: and now you can add more than one at a time! Also adds the 'add participants' and 'new calendar event' options to mobile view. Fixes T3251. Ref T3253. Test Plan: loaded up these "adders" on both desktop and device-ish views and it went well! Reviewers: epriestley, chad Reviewed By: chad CC: chad, aran, Korvin Maniphest Tasks: T3251, T3253 Differential Revision: https://secure.phabricator.com/D6075
This commit is contained in:
@@ -13,6 +13,22 @@ abstract class ConpherenceController extends PhabricatorController {
|
||||
pht('New Message'),
|
||||
$this->getApplicationURI('new/'));
|
||||
|
||||
$nav->addMenuItem(
|
||||
id(new PhabricatorMenuItemView())
|
||||
->setName(pht('Add Participants'))
|
||||
->setType(PhabricatorMenuItemView::TYPE_LINK)
|
||||
->setHref('#')
|
||||
->addSigil('conpherence-widget-adder')
|
||||
->setMetadata(array('widget' => 'widgets-people')));
|
||||
|
||||
$nav->addMenuItem(
|
||||
id(new PhabricatorMenuItemView())
|
||||
->setName(pht('New Calendar Item'))
|
||||
->setType(PhabricatorMenuItemView::TYPE_LINK)
|
||||
->setHref('/calendar/status/create/')
|
||||
->addSigil('conpherence-widget-adder')
|
||||
->setMetadata(array('widget' => 'widgets-calendar')));
|
||||
|
||||
return $nav;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user