diff --git a/src/pages/dashboard-page.tsx b/src/pages/dashboard-page.tsx index 7c0dbad..97e89a5 100644 --- a/src/pages/dashboard-page.tsx +++ b/src/pages/dashboard-page.tsx @@ -304,17 +304,17 @@ function DashboardContent() { }); return ( -
-
+
+
-

{t("dashboard.today")}

-

+

{t("dashboard.today")}

+

{t("dashboard.greeting", { name: fullName() })}

{t("dashboard.observationOnly")}

- + {t(ROLE_KEY[role()])} {formatDateTime(Date.now(), locale()).split(",")[0]} @@ -322,15 +322,16 @@ function DashboardContent() {
- {(msg) => {msg()}} + {(msg) =>
{msg()}
}
- }> +
}> +

{t("dashboard.roleLinks")}

-
+
{(card) => }
@@ -338,7 +339,7 @@ function DashboardContent() {
-

+

{t("dashboard.attention")}

@@ -350,14 +351,14 @@ function DashboardContent() { when={attention().length > 0} fallback={{t("dashboard.noAttention")}} > -
    +
      {(item) => (
    • @@ -387,21 +388,21 @@ function DashboardContent() {
-

+

{t("dashboard.upcoming")}

0} fallback={{t("dashboard.upcomingEmpty")}} > -
    +
      {(item) => (
    • {formatDateTime(item.at, locale())} @@ -424,6 +425,7 @@ function DashboardContent() {
+
); @@ -431,7 +433,7 @@ function DashboardContent() { function DashEmpty(props: { children: string }) { return ( -
+
{props.children}
); @@ -445,13 +447,13 @@ function PortalCard(props: { card: PortalCardDef }) { return ( - + -
-
+
+

{t(props.card.titleKey)}

-

{t(props.card.descKey)}

+

{t(props.card.descKey)}

);