mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-11 08:06:13 +01:00
655ac9927f
Summary: followup to D8544. This ends up creating an editor + transactions to get the job done. Test Plan: made a column - saw a nice created transaction. edited the name - saw a nice name edit. deleted the column - saw a deleted transaction, updated "deleted" ui, and hte action change to activate. "Activated" the column and saw a transaction and updated UI. Tried to delete a column with tasks in it and got an error. Reviewers: epriestley Reviewed By: epriestley Subscribers: epriestley, Korvin Differential Revision: https://secure.phabricator.com/D8620
24 lines
579 B
PHP
24 lines
579 B
PHP
<?php
|
|
|
|
abstract class PhabricatorProjectBoardController
|
|
extends PhabricatorProjectController {
|
|
|
|
private $project;
|
|
|
|
protected function setProject(PhabricatorProject $project) {
|
|
$this->project = $project;
|
|
return $this;
|
|
}
|
|
protected function getProject() {
|
|
return $this->project;
|
|
}
|
|
|
|
protected function buildApplicationCrumbs() {
|
|
$project = $this->getProject();
|
|
$crumbs = parent::buildApplicationCrumbs();
|
|
$crumbs->addTextCrumb(
|
|
$project->getName(),
|
|
$this->getApplicationURI('view/'.$project->getID().'/'));
|
|
return $crumbs;
|
|
}
|
|
}
|