Conpherence - add ability to change title in the durable column

Summary: Ref T7014.

Test Plan: changed the conpherence title from the column. since i can't get scrolling to work, i inspect the dom to verify the title change transaction showed up properly

Reviewers: epriestley, chad

Reviewed By: epriestley

Subscribers: Korvin, epriestley

Maniphest Tasks: T7014

Differential Revision: https://secure.phabricator.com/D12002
This commit is contained in:
Bob Trahan
2015-03-09 12:09:43 -07:00
parent 10a84d66db
commit 9b9a8001fa
7 changed files with 93 additions and 30 deletions

View File

@@ -62,11 +62,7 @@ abstract class ConpherenceController extends PhabricatorController {
protected function buildHeaderPaneContent(ConpherenceThread $conpherence) {
$crumbs = $this->buildApplicationCrumbs();
if ($conpherence->getTitle()) {
$title = $conpherence->getTitle();
} else {
$title = pht('[No Title]');
}
$title = $this->getConpherenceTitle($conpherence);
$crumbs->addCrumb(
id(new PHUICrumbView())
->setName($title)
@@ -85,4 +81,14 @@ abstract class ConpherenceController extends PhabricatorController {
$crumbs,
));
}
protected function getConpherenceTitle(ConpherenceThread $conpherence) {
if ($conpherence->getTitle()) {
$title = $conpherence->getTitle();
} else {
$title = pht('[No Title]');
}
return $title;
}
}