remove "Listing" from titles

This commit is contained in:
shibao 2022-02-15 17:33:07 -05:00
parent a727fa67cf
commit bcceb0434d
7 changed files with 6 additions and 7 deletions

View File

@ -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

View File

@ -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 %>

View File

@ -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 Types") %>
<%= gettext("Ammo Types") %>
</h1>
<%= if @ammo_types |> Enum.empty?() do %>

View File

@ -1,6 +1,6 @@
<div class="flex flex-col space-y-8 justify-center items-center">
<h1 class="title text-2xl title-primary-500">
<%= gettext("Listing Containers") %>
<%= gettext("Containers") %>
</h1>
<%= if @containers |> Enum.empty?() do %>

View File

@ -1,6 +1,6 @@
<div class="flex flex-col space-y-8 justify-center items-center">
<h1 class="title text-2xl title-primary-500">
<%= gettext("Listing Invites") %>
<%= gettext("Invites") %>
</h1>
<%= if @invites |> Enum.empty?() do %>

View File

@ -1,6 +1,6 @@
<div class="flex flex-col space-y-8 justify-center items-center">
<h1 class="title text-2xl title-primary-500">
<%= gettext("Listing Tags") %>
<%= gettext("Tags") %>
</h1>
<p class="title text-md text-primary-500">
<%= gettext("Tags can be added to your containers to help you organize") %>

View File

@ -1,7 +1,6 @@
defmodule CanneryWeb.LayoutView do
use CanneryWeb, :view
import CanneryWeb.Components.Topbar
alias Cannery.Accounts
alias CanneryWeb.{Endpoint, HomeLive}
# Phoenix LiveDashboard is available only in development by default,