diff options
Diffstat (limited to '')
-rw-r--r-- | lib/lsg_web/components/event_component.ex | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/lsg_web/components/event_component.ex b/lib/lsg_web/components/event_component.ex index fa81d19..8af3c67 100644 --- a/lib/lsg_web/components/event_component.ex +++ b/lib/lsg_web/components/event_component.ex @@ -1,4 +1,4 @@ -defmodule LSGWeb.EventComponent do +defmodule NolaWeb.EventComponent do use Phoenix.Component def content(assigns = %{event: %{type: :day_changed}}) do @@ -10,7 +10,7 @@ defmodule LSGWeb.EventComponent do def content(assigns = %{event: %{type: :quit}}) do ~H""" - <LSGWeb.Component.nick self={@self} nick={@user.nick} user_id={@user.id} account_id={@user.account} /> + <NolaWeb.Component.nick self={@self} nick={@user.nick} user_id={@user.id} account_id={@user.account} /> has quit: <span class="reason"><%= @reason %></span> """ @@ -18,7 +18,7 @@ defmodule LSGWeb.EventComponent do def content(assigns = %{event: %{type: :part}}) do ~H""" - <LSGWeb.Component.nick self={@self} nick={@user.nick} user_id={@user.id} account_id={@user.account} /> + <NolaWeb.Component.nick self={@self} nick={@user.nick} user_id={@user.id} account_id={@user.account} /> has left: <span class="reason"><%= @reason %></span> """ @@ -28,13 +28,13 @@ defmodule LSGWeb.EventComponent do ~H""" <span class="old-nick"><%= @old_nick %></span> is now known as - <LSGWeb.Component.nick self={@self} nick={@user.nick} user_id={@user.id} account_id={@user.account} /> + <NolaWeb.Component.nick self={@self} nick={@user.nick} user_id={@user.id} account_id={@user.account} /> """ end def content(assigns = %{event: %{type: :join}}) do ~H""" - <LSGWeb.Component.nick self={@self} nick={@user.nick} user_id={@user.id} account_id={@user.account} /> + <NolaWeb.Component.nick self={@self} nick={@user.nick} user_id={@user.id} account_id={@user.account} /> joined """ end |