Merge pull request #2629 from Thijmen/instance-name

Ability to give a name to an instance
This commit is contained in:
Andras Bacsai authored and GitHub committed 2024-06-24 11:23:41 +02:00
commit 4c652b5818
5 files changed
+55 -1

No files matched your search

+10
View File
@@ -47,4 +47,14 @@ class InstanceSettings extends Model implements SendsEmail
return explode(',', $recipients);
}
public function getTitleDisplayName(): string
{
$instanceName = $this->instance_name;
if (! $instanceName) {
return '';
}
return "[{$instanceName}]";
}
}