"#{assigns.feature_mod.display_name()} is part of the Plausible Business plan. You can access it during your trial, but you'll need to subscribe to the Business plan to retain access after the trial ends."
"#{assigns.feature_mod.display_name()} is part of the Plausible Business plan. To get access to it, please reach out to the site owner to upgrade your subscription to the Business plan."
<%=@feature_mod.display_name()%>ispartofthePlausibleBusinessplan.Youcanaccessitduringyourtrial,butyou'll need to subscribe to the Business plan to retain access after the trial ends."
"This account is limited to #{assigns.limit}#{assigns.resource}. To increase this limit, please reach out to the site owner to upgrade their subscription"
"Your account is limited to #{assigns.limit}#{assigns.resource}. To increase this limit, please contact support@plausible.io about the Enterprise plan"
@ -24,9 +24,9 @@ defmodule PlausibleWeb.Components.BillingTest do
feature_mod:Plausible.Billing.Feature.Props
)
assertrendered=~"Custom Properties is part of the Plausible Business plan."
assertrendered=~"This account does not have access to Custom Properties"
assertrendered=~"upgrade your subscription"
assertrendered=~"/billing/choose-plan"
assertrendered=~"/billing/upgrade"
end
test"premium_feature_notice/1 does not render an upgrade link when user is not the site owner"do
@ -40,10 +40,8 @@ defmodule PlausibleWeb.Components.BillingTest do
feature_mod:Plausible.Billing.Feature.Funnels
)
assertrendered=~
"Funnels is part of the Plausible Business plan. To get access to it, please reach out to the site owner to upgrade your subscription to the Business plan."
refuterendered=~"/billing/choose-plan"
assertrendered=~"This account does not have access to Funnels"
assertrendered=~"please reach out to the site owner to upgrade their subscription"
end
test"premium_feature_notice/1 does not render a notice when the user has access to the feature"do
@ -70,9 +68,9 @@ defmodule PlausibleWeb.Components.BillingTest do
resource:"users"
)
assertrendered=~"Your account is limited to 10 users. To increase this limit"
assertrendered=~"This account is limited to 10 users. To increase this limit"
assertrendered=~"upgrade your subscription"
assertrendered=~"/billing/choose-plan"
assertrendered=~"/billing/upgrade"
end
test"limit_exceeded_notice/1 when billable user is on growth but is not current user does not display upgrade link"do
@ -86,8 +84,8 @@ defmodule PlausibleWeb.Components.BillingTest do
resource:"users"
)
assertrendered=~
"This account is limited to 10 users. To increase this limit, please reach out to the site owner to upgrade their subscription"
assertrendered=~"This account is limited to 10 users"
assertrendered=~"please reach out to the site owner to upgrade their subscription"
end
test"limit_exceeded_notice/1 when billable user is on trial displays upgrade link"do
@ -101,9 +99,9 @@ defmodule PlausibleWeb.Components.BillingTest do
resource:"users"
)
assertrendered=~"Your account is limited to 10 users. To increase this limit"
assertrendered=~"This account is limited to 10 users"
assertrendered=~"upgrade your subscription"
assertrendered=~"/billing/choose-plan"
assertrendered=~"/billing/upgrade"
end
test"limit_exceeded_notice/1 when billable user is on an enterprise plan displays support email"do