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:
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user