Differential D20409 Diff 48716 src/applications/dashboard/engine/PhabricatorDashboardPanelRenderingEngine.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/dashboard/engine/PhabricatorDashboardPanelRenderingEngine.php
| Show First 20 Lines • Show All 274 Lines • ▼ Show 20 Lines | private function renderPanelDiv( | ||||
| if ($this->getMovable()) { | if ($this->getMovable()) { | ||||
| $box->addSigil('panel-movable'); | $box->addSigil('panel-movable'); | ||||
| } | } | ||||
| if ($panel) { | if ($panel) { | ||||
| $box->setMetadata( | $box->setMetadata( | ||||
| array( | array( | ||||
| 'objectPHID' => $panel->getPHID(), | 'panelKey' => $this->getPanelKey(), | ||||
| )); | )); | ||||
| } | } | ||||
| return phutil_tag_div('dashboard-pane', $box); | return $box; | ||||
| } | } | ||||
| private function renderPanelHeader() { | private function renderPanelHeader() { | ||||
| $panel = $this->getPanel(); | $panel = $this->getPanel(); | ||||
| switch ($this->getHeaderMode()) { | switch ($this->getHeaderMode()) { | ||||
| case self::HEADER_MODE_NONE: | case self::HEADER_MODE_NONE: | ||||
| ▲ Show 20 Lines • Show All 137 Lines • Show Last 20 Lines | |||||