Skip to content

Commit

Permalink
🎨 chore: update display fields
Browse files Browse the repository at this point in the history
  • Loading branch information
Cambis committed Jul 12, 2024
1 parent d412546 commit 7324100
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/Model/Announcement.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ class Announcement extends DataObject implements BrowserUpdateInterface, Permiss
* @var string[]
*/
private static array $summary_fields = [
'Title' => 'Title',
'Name' => 'Name',
];

private static string $browser_update_api_version = '2024.07';
Expand All @@ -125,7 +125,7 @@ public function getCMSFields(): FieldList
]);

$fields->addFieldsToTab('Root.Main', [
TextField::create('Title', 'Title')
TextField::create('Name', 'Name')
->setDescription('For CMS reference only.'),
self::getMessageCompositeField(),
$gridField,
Expand Down
6 changes: 3 additions & 3 deletions src/Model/BrowserVersion.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ class BrowserVersion extends DataObject implements BrowserUpdateInterface

private static string $table_name = 'BrowserUpdate_BrowserVersion';

private static string $singular_name = 'Browser update browser version';
private static string $singular_name = 'Browser version';

private static string $plural_name = 'Browser update browser versions';
private static string $plural_name = 'Browser versions';

/**
* @var string[]
Expand All @@ -54,7 +54,7 @@ class BrowserVersion extends DataObject implements BrowserUpdateInterface
* @var string[]
*/
private static array $summary_fields = [
'getTitle' => 'Title',
'getTitle' => 'Name',
'Version' => 'Version',
];

Expand Down

0 comments on commit 7324100

Please sign in to comment.