Page MenuHomePhabricator

Adding + button to workboard columns

Authored By
JohannesMP
May 16 2017, 7:37 PM
Size
722 B
Referenced Files
None
Subscribers
None

Adding + button to workboard columns

// File is: ./src/applications/project/controller/PhabricatorProjectBoardViewController.php
// line above is: $panel->setHeaderTag($count_tag);
if ($column->getProxyPHID()) {
$default_phid = $column->getProxyPHID();
} else {
$default_phid = $column->getProjectPHID();
}
$panel->addHeaderAction(id(new PHUIIconView())
->setIcon('fa-plus')
->setHref($this->getCreateURI())
->addSigil('column-add-task')
->setMetadata(
array(
'columnPHID' => $column->getPHID(),
'boardPHID' => $project->getPHID(),
'projectPHID' => $default_phid,
)));
// line below is: $cards = id(new PHUIObjectItemListView())

File Metadata

Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
655217
Default Alt Text
Adding + button to workboard columns (722 B)

Event Timeline