forked from shibao/cannery
remove "Listing" from titles
This commit is contained in:
@ -30,7 +30,7 @@ defmodule CanneryWeb.AmmoGroupLive.Index do
|
||||
end
|
||||
|
||||
defp apply_action(socket, :index, _params) do
|
||||
socket |> assign(:page_title, gettext("Listing Ammo groups")) |> assign(:ammo_group, nil)
|
||||
socket |> assign(:page_title, gettext("Ammo groups")) |> assign(:ammo_group, nil)
|
||||
end
|
||||
|
||||
@impl true
|
||||
|
@ -1,6 +1,6 @@
|
||||
<div class="mx-8 flex flex-col space-y-8 justify-center items-center">
|
||||
<h1 class="title text-2xl title-primary-500">
|
||||
<%= gettext("Listing Ammo") %>
|
||||
<%= gettext("Ammo") %>
|
||||
</h1>
|
||||
|
||||
<%= if @ammo_groups |> Enum.empty?() do %>
|
||||
|
Reference in New Issue
Block a user