From 60531d63b77753c9c9f0e2f950eea0f98a0d34a6 Mon Sep 17 00:00:00 2001 From: Thomas Date: Fri, 28 Aug 2026 13:35:28 +0200 Subject: [PATCH] [web] Add the Back to School group sale banner to the plans page (#36956) * [web] Add the Back to School group sale banner to the plans page Co-authored-by: Claude Opus 5 (1M context) GitOrigin-RevId: 596b23006fce7504fcdfd6341cf93429c08acc8b --- services/web/app/views/_mixins/notification.pug | 7 +++---- services/web/locales/en.json | 1 + 2 files changed, 4 insertions(+), 4 deletions(-) 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",