pluralised "partner organisations"

This commit is contained in:
naomi 2022-05-13 11:53:25 +01:00
parent c3e6f05b21
commit 42f4b124d0
3 changed files with 8 additions and 3 deletions

View File

@ -37,11 +37,13 @@ permissions:
- 'edit client entities'
- 'edit equal opps entities'
- 'edit event entities'
- 'edit organisation entities'
- 'edit staff_member entities'
- 'edit volunteer entities'
- 'post comments'
- 'revert all activity revisions'
- 'revert all client revisions'
- 'revert all organisation revisions'
- 'revert all staff_member revisions'
- 'revert all volunteer revisions'
- 'search content'
@ -50,11 +52,14 @@ permissions:
- 'use text format basic_html'
- 'view all activity revisions'
- 'view all client revisions'
- 'view all organisation revisions'
- 'view all staff_member revisions'
- 'view all volunteer revisions'
- 'view published activity entities'
- 'view published client entities'
- 'view published equal opps entities'
- 'view published event entities'
- 'view published organisation entities'
- 'view published organisation relation entities'
- 'view published staff_member entities'
- 'view published volunteer entities'

View File

@ -143,7 +143,7 @@ display:
title_enable: false
title: All
title_enable: true
title: '{{ arguments.type }}'
title: '{{ arguments.type }}s'
default_argument_type: raw
default_argument_options:
index: 1
@ -165,7 +165,7 @@ display:
validate_options: { }
glossary: false
limit: 0
case: none
case: ucfirst
path_case: none
transform_dash: false
break_phrase: false

View File

@ -45,7 +45,7 @@ class SeeAllOrganisationsMenuLink extends DeriverBase implements ContainerDerive
$organisationTypes = $this->entityTypeManager->getStorage('oc_organisation_type')->loadMultiple();
foreach ($organisationTypes as $id => $organisationType) {
$links[$id] = [
'title' => $organisationType->label(),
'title' => \Drupal\opencase\Pluraliser::pluralise($organisationType->label()),
'route_name' => "view.organisations.page_1",
'route_parameters' => ['type' => $organisationType->id()]
] + $base_plugin_definition;