Skip to content

Commit

Permalink
Update sites.ex
Browse files Browse the repository at this point in the history
  • Loading branch information
metmarkosaric authored Jan 9, 2025
1 parent 937d36f commit 321453d
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions lib/plausible_web/live/sites.ex
Original file line number Diff line number Diff line change
Expand Up @@ -462,23 +462,17 @@ defmodule PlausibleWeb.Live.Sites do
</.notice>
<.notice
x-show="selectedInvitation && selectedInvitation.exceeded_limits"
title="Exceeded limits"
title="Unable to accept site ownership"
class="mt-4 shadow-sm dark:shadow-none"
>
<p>
You are unable to accept the ownership of this site because doing so would exceed the
<span x-text="selectedInvitation && selectedInvitation.exceeded_limits"></span>
of your subscription.
You can review your usage in the
Owning this site would exceed your current subscription usage limits. Please check your usage in
<.styled_link
class="inline-block"
href={Routes.settings_path(PlausibleWeb.Endpoint, :subscription)}
>
account settings
</.styled_link>.
</p>
<p class="mt-3">
To become the owner of this site, you should either reduce your usage, or upgrade your subscription.
</.styled_link> and upgrade your subscription to accept the site ownership.
</p>
</.notice>
<.notice
Expand Down

0 comments on commit 321453d

Please sign in to comment.