mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-12 13:13:45 +01:00
[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) <noreply@anthropic.com> GitOrigin-RevId: 596b23006fce7504fcdfd6341cf93429c08acc8b
This commit is contained in:
committed by
Copybot
co-authored by
Claude Opus 5
parent
bd8dbe3f11
commit
60531d63b7
@@ -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
|
||||
|
||||
@@ -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:</0> 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</1>.",
|
||||
"back_to_subscription": "Back to subscription",
|
||||
"back_to_your_projects": "Back to your projects",
|
||||
"basic": "Basic",
|
||||
|
||||
Reference in New Issue
Block a user