diff --git a/src/appShell/App/PortalHeader.tsx b/src/appShell/App/PortalHeader.tsx index 5ce7ff959c8..37e79a0d47b 100644 --- a/src/appShell/App/PortalHeader.tsx +++ b/src/appShell/App/PortalHeader.tsx @@ -91,6 +91,14 @@ export default class PortalHeader extends React.Component< internal: false, hide: () => !getServerConfig().installation_map_url, }, + + { + id: 'donate', + text: 'Donate', + address: 'https://docs.cbioportal.org/donate/', + internal: false, + hide: () => !getServerConfig().skin_show_donate_button === true, + }, ]; } diff --git a/src/config/IAppConfig.ts b/src/config/IAppConfig.ts index 9c06c7498d5..d43a8968efc 100644 --- a/src/config/IAppConfig.ts +++ b/src/config/IAppConfig.ts @@ -120,6 +120,7 @@ export interface IServerConfig { skin_show_tutorials_tab: boolean; skin_show_web_api_tab: boolean; skin_show_tweet_button: boolean; + skin_show_donate_button: boolean; skin_show_tissue_image_tab: boolean; skin_hide_logout_button: boolean; skin_show_settings_menu: boolean;