Changeset View
Changeset View
Standalone View
Standalone View
src/view/page/menu/PhabricatorMainMenuView.php
| Show First 20 Lines • Show All 343 Lines • ▼ Show 20 Lines | if (PhabricatorApplication::isClassInstalledForViewer( | ||||
| Javelin::initBehavior( | Javelin::initBehavior( | ||||
| 'aphlict-dropdown', | 'aphlict-dropdown', | ||||
| array( | array( | ||||
| 'bubbleID' => $message_id, | 'bubbleID' => $message_id, | ||||
| 'countID' => $message_count_id, | 'countID' => $message_count_id, | ||||
| 'dropdownID' => $message_dropdown_id, | 'dropdownID' => $message_dropdown_id, | ||||
| 'loadingText' => pht('Loading...'), | 'loadingText' => pht('Loading...'), | ||||
| 'uri' => '/conpherence/panel/', | 'uri' => '/conpherence/panel/', | ||||
| 'countType' => 'messages', | |||||
| 'countNumber' => $message_count_number, | |||||
| )); | )); | ||||
| $message_notification_dropdown = javelin_tag( | $message_notification_dropdown = javelin_tag( | ||||
| 'div', | 'div', | ||||
| array( | array( | ||||
| 'id' => $message_dropdown_id, | 'id' => $message_dropdown_id, | ||||
| 'class' => 'phabricator-notification-menu', | 'class' => 'phabricator-notification-menu', | ||||
| 'sigil' => 'phabricator-notification-menu', | 'sigil' => 'phabricator-notification-menu', | ||||
| ▲ Show 20 Lines • Show All 63 Lines • ▼ Show 20 Lines | if (PhabricatorApplication::isClassInstalledForViewer( | ||||
| Javelin::initBehavior( | Javelin::initBehavior( | ||||
| 'aphlict-dropdown', | 'aphlict-dropdown', | ||||
| array( | array( | ||||
| 'bubbleID' => $bubble_id, | 'bubbleID' => $bubble_id, | ||||
| 'countID' => $count_id, | 'countID' => $count_id, | ||||
| 'dropdownID' => $dropdown_id, | 'dropdownID' => $dropdown_id, | ||||
| 'loadingText' => pht('Loading...'), | 'loadingText' => pht('Loading...'), | ||||
| 'uri' => '/notification/panel/', | 'uri' => '/notification/panel/', | ||||
| 'countType' => 'notifications', | |||||
| 'countNumber' => $count_number, | |||||
| )); | )); | ||||
| $notification_dropdown = javelin_tag( | $notification_dropdown = javelin_tag( | ||||
| 'div', | 'div', | ||||
| array( | array( | ||||
| 'id' => $dropdown_id, | 'id' => $dropdown_id, | ||||
| 'class' => 'phabricator-notification-menu', | 'class' => 'phabricator-notification-menu', | ||||
| 'sigil' => 'phabricator-notification-menu', | 'sigil' => 'phabricator-notification-menu', | ||||
| Show All 37 Lines | |||||