Add default PortalSettings footer link
This commit is contained in:
@@ -94,7 +94,21 @@ export const CustomBrandingSettingsProvider: ISettingsProvider<ICustomBrandingSe
|
||||
allowedCssHosts: [],
|
||||
cssfiles: [],
|
||||
placeholdertop: { elements: [] },
|
||||
placeholderbottom: { elements: [] }
|
||||
placeholderbottom: {
|
||||
elements: [{
|
||||
type: 'div',
|
||||
attributes: { role: 'contentinfo', 'aria-label': 'Portalverwaltung' },
|
||||
styles: {
|
||||
'background-color': '#323130', color: '#ffffff', padding: '12px 16px',
|
||||
'text-align': 'center', width: '100%', 'box-sizing': 'border-box'
|
||||
},
|
||||
children: [{
|
||||
type: 'a', content: 'Portal Settings',
|
||||
attributes: { href: '~sitecollection/SitePages/PortalSettings.aspx' },
|
||||
styles: { color: '#ffffff', 'text-decoration': 'underline' }
|
||||
}]
|
||||
}]
|
||||
}
|
||||
}),
|
||||
normalize: (value: any): ICustomBrandingSettings => { // tslint:disable-line:no-any
|
||||
const source: any = value && typeof value === 'object' ? value : {}; // tslint:disable-line:no-any
|
||||
|
||||
Reference in New Issue
Block a user