diff --git a/src/lib/ui/app/Chart/RestrictedDataDialog/RestrictedDataDialog.svelte b/src/lib/ui/app/Chart/RestrictedDataDialog/RestrictedDataDialog.svelte index f0ac97d3f..9fa1751e5 100644 --- a/src/lib/ui/app/Chart/RestrictedDataDialog/RestrictedDataDialog.svelte +++ b/src/lib/ui/app/Chart/RestrictedDataDialog/RestrictedDataDialog.svelte @@ -26,58 +26,50 @@ }) - -

- Restricted data + +

+ Why is some data hidden? - +

-
-
-
-
Metric
-
Period of restricted data
-
- - {#each Object.values(chartPlanRestrictions.$) as restriction} - {@const { label, restrictedTo, restrictedFrom } = restriction!} -
-
{label}
- -
- {#if restrictedFrom} - Before: {getFormattedMonthDayYear(new Date(restrictedFrom))} +
+
+

Your plan has limited data period for:

+ +
    + {#each Object.values(chartPlanRestrictions.$) as restriction} + {@const { label, restrictedTo, restrictedFrom } = restriction!} +
  • + {label} + + {#if restrictedFrom && restrictedTo} + + ({getFormattedMonthDayYear(new Date(restrictedFrom))} - {getFormattedMonthDayYear( + new Date(restrictedTo), + )}) + {/if} -
    - {#if restrictedTo} - After: {getFormattedMonthDayYear(new Date(restrictedTo))} - {/if} -
-
- {/each} -
+ + {/each} + -

- Your plan currently is restricted to limited data for this metric. To unlock the full range of - Santiment metrics, click the button below to Upgrade your account to PRO -

+

+ To unlock the full potential of Santiment metrics you need to upgrade your account to PRO +

+
+ Upgrade +
- -