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:
parent
46030f4f95
commit
127c8b806f
3 changed files with 3 additions and 3 deletions
|
@ -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())
|
||||
|
|
|
@ -93,7 +93,7 @@ final class ConpherenceViewController extends
|
|||
|
||||
$title = $conpherence->getTitle();
|
||||
if (!$title) {
|
||||
$title = pht('Conpherence');
|
||||
$title = pht('[No Title]');
|
||||
}
|
||||
return $this->buildApplicationPage(
|
||||
$layout,
|
||||
|
|
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue