Differential D20409 Diff 48716 src/applications/dashboard/engine/PhabricatorDashboardRenderingEngine.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/dashboard/engine/PhabricatorDashboardRenderingEngine.php
| Show First 20 Lines • Show All 105 Lines • ▼ Show 20 Lines | foreach ($columns as $column) { | ||||
| $result->addColumn( | $result->addColumn( | ||||
| $column_views, | $column_views, | ||||
| implode(' ', $column_classes), | implode(' ', $column_classes), | ||||
| $sigil, | $sigil, | ||||
| $metadata); | $metadata); | ||||
| } | } | ||||
| if ($is_editable) { | if ($is_editable) { | ||||
| $params = array( | |||||
| 'contextPHID' => $dashboard->getPHID(), | |||||
| ); | |||||
| $move_uri = new PhutilURI('/dashboard/adjust/move/', $params); | |||||
| Javelin::initBehavior( | Javelin::initBehavior( | ||||
| 'dashboard-move-panels', | 'dashboard-move-panels', | ||||
| array( | array( | ||||
| 'dashboardID' => $dashboard_id, | 'dashboardNodeID' => $dashboard_id, | ||||
| 'moveURI' => '/dashboard/movepanel/'.$dashboard->getID().'/', | 'moveURI' => (string)$move_uri, | ||||
| )); | )); | ||||
| } | } | ||||
| $view = id(new PHUIBoxView()) | $view = id(new PHUIBoxView()) | ||||
| ->addClass('dashboard-view') | ->addClass('dashboard-view') | ||||
| ->appendChild( | ->appendChild( | ||||
| array( | array( | ||||
| $result, | $result, | ||||
| ▲ Show 20 Lines • Show All 53 Lines • Show Last 20 Lines | |||||