mirror of
https://github.com/plausible/analytics.git
synced 2024-12-23 09:33:19 +03:00
Fix typo with "succesfully" (#836)
This commit is contained in:
parent
57b3b32444
commit
c29bcc89b5
@ -313,7 +313,7 @@ defmodule PlausibleWeb.AuthController do
|
||||
case Repo.update(changes) do
|
||||
{:ok, _user} ->
|
||||
conn
|
||||
|> put_flash(:success, "Account settings saved succesfully")
|
||||
|> put_flash(:success, "Account settings saved successfully")
|
||||
|> redirect(to: "/settings")
|
||||
|
||||
{:error, changeset} ->
|
||||
|
@ -120,7 +120,7 @@ defmodule PlausibleWeb.SiteController do
|
||||
case Plausible.Goals.create(site, goal) do
|
||||
{:ok, _} ->
|
||||
conn
|
||||
|> put_flash(:success, "Goal created succesfully")
|
||||
|> put_flash(:success, "Goal created successfully")
|
||||
|> redirect(to: "/#{URI.encode_www_form(site.domain)}/settings/goals")
|
||||
|
||||
{:error, changeset} ->
|
||||
@ -138,7 +138,7 @@ defmodule PlausibleWeb.SiteController do
|
||||
Plausible.Goals.delete(goal_id)
|
||||
|
||||
conn
|
||||
|> put_flash(:success, "Goal deleted succesfully")
|
||||
|> put_flash(:success, "Goal deleted successfully")
|
||||
|> redirect(to: "/#{URI.encode_www_form(website)}/settings/goals")
|
||||
end
|
||||
|
||||
@ -252,7 +252,7 @@ defmodule PlausibleWeb.SiteController do
|
||||
|> Repo.update!()
|
||||
|
||||
conn
|
||||
|> put_flash(:success, "Google integration saved succesfully")
|
||||
|> put_flash(:success, "Google integration saved successfully")
|
||||
|> redirect(to: "/#{URI.encode_www_form(site.domain)}/settings/search-console")
|
||||
end
|
||||
|
||||
@ -303,7 +303,7 @@ defmodule PlausibleWeb.SiteController do
|
||||
Plausible.ClickhouseRepo.clear_stats_for(site.domain)
|
||||
|
||||
conn
|
||||
|> put_flash(:success, "Site deleted succesfully along with all pageviews")
|
||||
|> put_flash(:success, "Site deleted successfully along with all pageviews")
|
||||
|> redirect(to: "/sites")
|
||||
end
|
||||
|
||||
@ -615,7 +615,7 @@ defmodule PlausibleWeb.SiteController do
|
||||
Repo.delete!(site.custom_domain)
|
||||
|
||||
conn
|
||||
|> put_flash(:success, "Custom domain deleted succesfully")
|
||||
|> put_flash(:success, "Custom domain deleted successfully")
|
||||
|> redirect(to: "/#{URI.encode_www_form(site.domain)}/settings/custom-domain")
|
||||
end
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
<div class="w-full max-w-lg px-4 mt-4 mx-auto">
|
||||
<div x-data="{volume: '10k', billingCycle: 'monthly'}" class="flex-1 bg-white dark:bg-gray-800 shadow-md rounded px-8 py-4 mb-4 mt-8">
|
||||
<div class="w-full pt-2 text-xl font-bold dark:text-gray-100">
|
||||
Subscription created succesfully
|
||||
Subscription created successfully
|
||||
</div>
|
||||
|
||||
<div class="w-full text-gray-500 dark:text-gray-200 text-sm py-4">
|
||||
|
@ -40,7 +40,7 @@ defmodule PlausibleWeb.BillingControllerTest do
|
||||
test "shows success page after user subscribes", %{conn: conn} do
|
||||
conn = get(conn, "/billing/upgrade-success")
|
||||
|
||||
assert html_response(conn, 200) =~ "Subscription created succesfully"
|
||||
assert html_response(conn, 200) =~ "Subscription created successfully"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user