diff --git a/services/web/app/views/_mixins/notification.pug b/services/web/app/views/_mixins/notification.pug index b558849ea1..4df20f4605 100644 --- a/services/web/app/views/_mixins/notification.pug +++ b/services/web/app/views/_mixins/notification.pug @@ -12,7 +12,7 @@ mixin notificationIcon(type) +material-symbol('warning') mixin notification(options) - - var {ariaLive, id, type, title, content, disclaimer, className, dismissId, dismissCookiePaths} = options ?? {} + - var {ariaLive, id, type, title, content, action, disclaimer, className, dismissId, dismissCookiePaths, isActionBelowContent} = options ?? {} - var classNames = `notification notification-type-${type} ${className ? className : ''} ${isActionBelowContent ? 'notification-cta-below-content' : ''}` if dismissId && dismissedNotifications.includes(dismissId) @@ -35,9 +35,8 @@ mixin notification(options) b #{title} | !{content} block - //- TODO: handle action - //- if action - //- .notification-cta + if action + .notification-cta !{action} if disclaimer .notification-disclaimer #{disclaimer} if dismissId diff --git a/services/web/locales/en.json b/services/web/locales/en.json index 95f8d3ab18..f3f8452a89 100644 --- a/services/web/locales/en.json +++ b/services/web/locales/en.json @@ -272,6 +272,7 @@ "back_to_log_in": "Back to log in", "back_to_my_projects": "Back to my projects", "back_to_pdf": "Back to PDF", + "back_to_school_group_sale_plans_page_banner": "<0>Back to School sale: Groups at degree-granting institutions can save an additional 20% on new Standard and Pro subscriptions of 20+ users. Get in touch with our sales team by <1>October 15.", "back_to_subscription": "Back to subscription", "back_to_your_projects": "Back to your projects", "basic": "Basic",