mirror of
https://github.com/fleetdm/fleet
synced 2026-05-12 03:28:48 +00:00
Related to: https://github.com/fleetdm/confidential/issues/7227 Changes: - Added a banner to the /better page that is visible to users who visit it with a `?utm_content=secureframe` query param. - Updated the `<animated-arrow-button>` component to support customizing text and arrow color.
25 lines
341 B
JavaScript
Vendored
25 lines
341 B
JavaScript
Vendored
module.exports = {
|
|
|
|
|
|
friendlyName: 'View transparency',
|
|
|
|
|
|
description: 'Display "Transparency" page.',
|
|
|
|
exits: {
|
|
|
|
success: {
|
|
viewTemplatePath: 'pages/transparency'
|
|
}
|
|
|
|
},
|
|
|
|
|
|
fn: async function () {
|
|
// Respond with view.
|
|
return {showSecureframeBanner: this.req.param('utm_content') === 'secureframe'};
|
|
|
|
}
|
|
|
|
|
|
};
|