remove "listing" from titles

This commit is contained in:
2022-02-24 00:52:46 -05:00
parent 4c9e707181
commit d0857eccc1
6 changed files with 20 additions and 44 deletions

View File

@ -31,7 +31,7 @@ defmodule CanneryWeb.AmmoTypeLive.Index do
end
defp apply_action(socket, :index, _params) do
socket |> assign(:page_title, gettext("Listing Ammo types")) |> assign(:ammo_type, nil)
socket |> assign(:page_title, gettext("Ammo types")) |> assign(:ammo_type, nil)
end
@impl true

View File

@ -35,7 +35,7 @@ defmodule CanneryWeb.ContainerLive.Index do
defp apply_action(socket, :index, _params) do
socket
|> assign(:page_title, gettext("Listing Containers"))
|> assign(:page_title, gettext("Containers"))
|> assign(:container, nil)
|> display_containers()
end

View File

@ -40,7 +40,7 @@ defmodule CanneryWeb.InviteLive.Index do
end
defp apply_action(socket, :index, _params) do
socket |> assign(page_title: gettext("Listing Invites"), invite: nil)
socket |> assign(page_title: gettext("Invites"), invite: nil)
end
@impl true

View File

@ -31,7 +31,7 @@ defmodule CanneryWeb.TagLive.Index do
end
defp apply_action(socket, :index, _params) do
socket |> assign(:page_title, gettext("Listing Tags")) |> assign(:tag, nil)
socket |> assign(:page_title, gettext("Tags")) |> assign(:tag, nil)
end
@impl true