From 06fe9cbc4d272ba9a3e5d9139b59a9f51db1cb35 Mon Sep 17 00:00:00 2001 From: Adam Rutkowski Date: Tue, 28 Nov 2023 09:12:53 +0100 Subject: [PATCH] Use `small_build?()` where applicable --- lib/plausible_web/live/register_form.ex | 4 ++-- .../templates/auth/password_reset_request_success.html.heex | 2 +- lib/plausible_web/templates/layout/_footer.html.heex | 2 +- .../templates/stats/waiting_first_pageview.html.heex | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/plausible_web/live/register_form.ex b/lib/plausible_web/live/register_form.ex index 94c725b80..258c6b52a 100644 --- a/lib/plausible_web/live/register_form.ex +++ b/lib/plausible_web/live/register_form.ex @@ -68,7 +68,7 @@ defmodule PlausibleWeb.Live.RegisterForm do ~H"""

- <%= if not full_build?() or @live_action == :register_from_invitation_form do %> + <%= if small_build?() or @live_action == :register_from_invitation_form do %> Register your Plausible Analytics account <% else %> Register your 30-day free trial @@ -162,7 +162,7 @@ defmodule PlausibleWeb.Live.RegisterForm do <% end %> <% submit_text = - if not full_build?() or @invitation do + if small_build?() or @invitation do "Create my account →" else "Start my free trial →" diff --git a/lib/plausible_web/templates/auth/password_reset_request_success.html.heex b/lib/plausible_web/templates/auth/password_reset_request_success.html.heex index 9e38f9d95..846a7c03e 100644 --- a/lib/plausible_web/templates/auth/password_reset_request_success.html.heex +++ b/lib/plausible_web/templates/auth/password_reset_request_success.html.heex @@ -11,7 +11,7 @@ You might have used an email address that's not registered in our database. Please verify the email address associated with your Plausible account and attempt the password reset once more.

- + Certain that you're using the correct email address but still aren't receiving the password reset email? Please check your spam folder or ask on our Solely funded by our subscribers.

- <%= if not full_build?() do %> + <%= if small_build?() do %>