Skip to content

Commit

Permalink
Merge pull request #422 from creative-commoners/pulls/2.3/noice
Browse files Browse the repository at this point in the history
Tidy output of IsPublic value in Subsites admin
  • Loading branch information
robbieaverill authored May 31, 2019
2 parents b857674 + 68c763d commit 33244fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Model/Subsite.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ class Subsite extends DataObject
private static $summary_fields = [
'Title',
'PrimaryDomain',
'IsPublic'
'IsPublic.Nice'
];

/**
Expand Down Expand Up @@ -772,7 +772,7 @@ public function fieldLabels($includerelations = true)
$labels['DefaultSite'] = _t('Subsites.DefaultSiteFieldLabel', 'Default site');
$labels['Theme'] = _t('Subsites.ThemeFieldLabel', 'Theme');
$labels['Language'] = _t('Subsites.LanguageFieldLabel', 'Language');
$labels['IsPublic'] = _t('Subsites.IsPublicFieldLabel', 'Enable public access');
$labels['IsPublic.Nice'] = _t('Subsites.IsPublicFieldLabel', 'Enable public access');
$labels['PageTypeBlacklist'] = _t('Subsites.PageTypeBlacklistFieldLabel', 'Page Type Blacklist');
$labels['Domains.Domain'] = _t('Subsites.DomainFieldLabel', 'Domain');
$labels['PrimaryDomain'] = _t('Subsites.PrimaryDomainFieldLabel', 'Primary Domain');
Expand Down

0 comments on commit 33244fb

Please sign in to comment.