1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-10 08:52:39 +01:00

Set untitled Conpherences to '[No Title]' so users change them

Summary: This mainly affects crumbs, makes it more clear that the Conpherence doesn't have a set title.

Test Plan: Clear a title, see [No Title]

Reviewers: epriestley, btrahan

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D6099
This commit is contained in:
Chad Little 2013-05-31 11:30:55 -07:00
parent 46030f4f95
commit 127c8b806f
3 changed files with 3 additions and 3 deletions

View file

@ -58,7 +58,7 @@ abstract class ConpherenceController extends PhabricatorController {
if ($conpherence->getTitle()) {
$title = $conpherence->getTitle();
} else {
$title = pht('Conpherence');
$title = pht('[No Title]');
}
$crumbs->addCrumb(
id(new PhabricatorCrumbView())

View file

@ -93,7 +93,7 @@ final class ConpherenceViewController extends
$title = $conpherence->getTitle();
if (!$title) {
$title = pht('Conpherence');
$title = pht('[No Title]');
}
return $this->buildApplicationPage(
$layout,

View file

@ -160,7 +160,7 @@ final class ConpherenceThread extends ConpherenceDAO
$title = $js_title = $this->getTitle();
if (!$title) {
$title = $lucky_handle->getName();
$js_title = pht('Conpherence');
$js_title = pht('[No Title]');
}
$img_src = $lucky_handle->getImageURI();