diff --git a/lib/towerops_web/components/layouts.ex b/lib/towerops_web/components/layouts.ex index dfe350a1..7b7f56e6 100644 --- a/lib/towerops_web/components/layouts.ex +++ b/lib/towerops_web/components/layouts.ex @@ -215,10 +215,10 @@ defmodule ToweropsWeb.Layouts do to: "#org-switcher-button" ) } - class="inline-flex items-center gap-1 text-sm font-medium text-gray-600 hover:text-gray-900 dark:text-gray-400 dark:hover:text-white transition-colors" + class="inline-flex items-center gap-1 text-sm font-medium text-gray-600 hover:text-gray-900 dark:text-gray-400 dark:hover:text-white transition-colors max-w-xs" > - {@current_organization.name} - <.icon name="hero-chevron-down" class="h-3 w-3" /> + {@current_organization.name} + <.icon name="hero-chevron-down" class="h-3 w-3 shrink-0" />
<% end %> + + <%= if @active_tab == "billing" do %> ++ {@estimated_cost.billable} {t("billable devices")} × $1.00 +
++ ✓ {t("Subscription Active")} +
+ <%= if @organization.subscription_current_period_end do %> ++ {t("Next billing")}: {Calendar.strftime( + @organization.subscription_current_period_end, + "%B %d, %Y" + )} +
+ <% end %> ++ ⚠ {t("Payment Past Due")} +
++ {t("Please update your payment method to avoid service interruption.")} +
++ {t("Free Plan - First 10 devices included")} +
++ {t("Upgrade to monitor unlimited devices at $1/device/month")} +
+