Add minor improvements to stats [PREMIUM-13]
This commit is contained in:
@@ -38,6 +38,7 @@ $green-badge-color = #55bd56
|
|||||||
font-weight: 500
|
font-weight: 500
|
||||||
border-radius: 3px
|
border-radius: 3px
|
||||||
letter-spacing: 1px
|
letter-spacing: 1px
|
||||||
|
vertical-align: middle
|
||||||
|
|
||||||
&_excellent
|
&_excellent
|
||||||
background: $excellent-badge-color
|
background: $excellent-badge-color
|
||||||
|
@@ -20,7 +20,7 @@ const badges = {
|
|||||||
|
|
||||||
const stats = {
|
const stats = {
|
||||||
opened: {
|
opened: {
|
||||||
badgeRanges: [30, 15, 0],
|
badgeRanges: [30, 10, 0],
|
||||||
badgeTypes: [
|
badgeTypes: [
|
||||||
'excellent',
|
'excellent',
|
||||||
'good',
|
'good',
|
||||||
|
@@ -279,7 +279,7 @@ const _StatisticsMixin = {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (total_sent > 0 && !too_early_for_stats && params.link) {
|
if (total_sent > 0 && params.link) {
|
||||||
// wrap content in a link
|
// wrap content in a link
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
|
@@ -96,7 +96,7 @@
|
|||||||
'goodBadgeTooltip': __('Good stuff.'),
|
'goodBadgeTooltip': __('Good stuff.'),
|
||||||
'badBadgeName': __('Bad'),
|
'badBadgeName': __('Bad'),
|
||||||
'badBadgeTooltip': __('Something to improve.'),
|
'badBadgeTooltip': __('Something to improve.'),
|
||||||
'openedStatTooltip': __('Above 30% is excellent.\\nBetween 15 and 30% is good.\\nUnder 15% is bad.'),
|
'openedStatTooltip': __('Above 30% is excellent.\\nBetween 10 and 30% is good.\\nUnder 10% is bad.'),
|
||||||
'clickedStatTooltip': __('Above 3% is excellent.\\nBetween 1 and 3% is good.\\nUnder 1% is bad.'),
|
'clickedStatTooltip': __('Above 3% is excellent.\\nBetween 1 and 3% is good.\\nUnder 1% is bad.'),
|
||||||
'unsubscribedStatTooltip': __('Under 1% is excellent.\\nBetween 1 and 3% is good.\\nOver 3% is bad.'),
|
'unsubscribedStatTooltip': __('Under 1% is excellent.\\nBetween 1 and 3% is good.\\nOver 3% is bad.'),
|
||||||
'checkBackInHours': __('Nice job! Check back in %$1d hour(s) for more stats.'),
|
'checkBackInHours': __('Nice job! Check back in %$1d hour(s) for more stats.'),
|
||||||
|
Reference in New Issue
Block a user