From ba2294f156cb082ef67143f585ac794bc8854106 Mon Sep 17 00:00:00 2001 From: shibao Date: Thu, 17 Feb 2022 21:24:59 -0500 Subject: [PATCH] mix format with new version --- lib/cannery_web/components/ammo_group_card.ex | 4 +- lib/cannery_web/components/invite_card.ex | 9 +- lib/cannery_web/components/topbar.ex | 8 +- lib/cannery_web/components/user_card.ex | 2 +- .../live/ammo_group_live/index.html.heex | 9 +- .../live/ammo_group_live/show.html.heex | 15 +- .../ammo_type_live/form_component.html.heex | 32 +++- .../live/ammo_type_live/show.html.heex | 22 ++- .../live/container_live/show.html.heex | 4 +- lib/cannery_web/live/home_live.ex | 9 +- .../live/invite_live/index.html.heex | 10 +- .../live/range_live/index.html.heex | 6 +- .../templates/error/error.html.heex | 11 +- .../templates/layout/email.html.heex | 4 +- .../templates/layout/live.html.heex | 7 +- .../templates/user_confirmation/new.html.heex | 2 +- .../templates/user_registration/new.html.heex | 2 +- .../user_reset_password/edit.html.heex | 15 +- .../user_reset_password/new.html.heex | 3 +- .../templates/user_session/new.html.heex | 2 +- .../templates/user_settings/edit.html.heex | 14 +- lib/cannery_web/views/view_helpers.ex | 16 +- mix.exs | 4 +- mix.lock | 2 +- priv/gettext/actions.pot | 34 ++-- priv/gettext/default.pot | 158 +++++++++--------- priv/gettext/emails.pot | 2 +- priv/gettext/errors.pot | 4 +- priv/gettext/prompts.pot | 22 +-- 29 files changed, 239 insertions(+), 193 deletions(-) diff --git a/lib/cannery_web/components/ammo_group_card.ex b/lib/cannery_web/components/ammo_group_card.ex index 59cd2dc..3686cdc 100644 --- a/lib/cannery_web/components/ammo_group_card.ex +++ b/lib/cannery_web/components/ammo_group_card.ex @@ -40,7 +40,9 @@ defmodule CanneryWeb.Components.AmmoGroupCard do <%= if @ammo_group.price_paid do %> <%= gettext("Price paid:") %> - <%= gettext("$%{amount}", amount: @ammo_group.price_paid |> :erlang.float_to_binary(decimals: 2)) %> + <%= gettext("$%{amount}", + amount: @ammo_group.price_paid |> :erlang.float_to_binary(decimals: 2) + ) %> <% end %> diff --git a/lib/cannery_web/components/invite_card.ex b/lib/cannery_web/components/invite_card.ex index ed8aac0..2d9f877 100644 --- a/lib/cannery_web/components/invite_card.ex +++ b/lib/cannery_web/components/invite_card.ex @@ -8,9 +8,11 @@ defmodule CanneryWeb.Components.InviteCard do def invite_card(assigns) do ~H""" -
+ transition-all duration-300 ease-in-out" + >

<%= @invite.name %>

@@ -30,7 +32,8 @@ defmodule CanneryWeb.Components.InviteCard do <%= Routes.user_registration_url(Endpoint, :new, invite: @invite.token) %> + > + <%= Routes.user_registration_url(Endpoint, :new, invite: @invite.token) %> <%= if @code_actions do %> diff --git a/lib/cannery_web/components/topbar.ex b/lib/cannery_web/components/topbar.ex index a9ee062..a6710e8 100644 --- a/lib/cannery_web/components/topbar.ex +++ b/lib/cannery_web/components/topbar.ex @@ -30,10 +30,12 @@ defmodule CanneryWeb.Components.Topbar do <% end %>
-
+
-