( pageTitle: string, organizationName?: string )
| 24 | * Creates a title for organization-level pages |
| 25 | */ |
| 26 | export function createOrganizationTitle( |
| 27 | pageTitle: string, |
| 28 | organizationName?: string |
| 29 | ): string { |
| 30 | if (organizationName) { |
| 31 | return createTitle(pageTitle, organizationName); |
| 32 | } |
| 33 | return createTitle(pageTitle, 'Organization'); |
| 34 | } |
| 35 | |
| 36 | /** |
| 37 | * Creates a title for project-level pages |
no test coverage detected