Use 'Current' badge and style active plan pill

This commit is contained in:
Nariman Jelveh
2026-04-30 14:13:10 -07:00
parent 56eef339a8
commit 867d967b37
2 changed files with 8 additions and 1 deletions
+1 -1
View File
@@ -272,7 +272,7 @@ const TabHome = {
$el_window.find('.bento-plan-name').text(i18n(planName));
if ( hasSubscription ) {
$el_window.find('.bento-plan-badge').text('Active subscription').addClass('active');
$el_window.find('.bento-plan-badge').text('Current').addClass('active');
$el_window.find('.bento-plan-upgrade').text('Manage →').show();
} else {
$el_window.find('.bento-plan-badge').text('Upgrade for more features').addClass('free');
+7
View File
@@ -2795,7 +2795,14 @@ body {
}
.dashboard .bento-plan-badge.active {
display: inline-block;
padding: 2px 8px;
border-radius: 999px;
font-size: 12px;
font-weight: 500;
color: var(--dashboard-success-text);
background: var(--dashboard-success-background);
border: 1px solid var(--dashboard-success-border);
}
.dashboard .bento-plan-upgrade {