rename ammo types page to catalog

This commit is contained in:
shibao 2022-07-01 00:20:50 -04:00
parent 7863b06215
commit 2db9ab968f
2 changed files with 3 additions and 3 deletions

View File

@ -47,13 +47,13 @@ defmodule CanneryWeb.Components.Topbar do
) %>
</li>
<li class="mx-2 my-1">
<%= live_redirect(gettext("Ammo"),
<%= live_redirect(gettext("Catalog"),
to: Routes.ammo_type_index_path(Endpoint, :index),
class: "text-primary-600 text-white hover:underline"
) %>
</li>
<li class="mx-2 my-1">
<%= live_redirect(gettext("Manage"),
<%= live_redirect(gettext("Ammo"),
to: Routes.ammo_group_index_path(Endpoint, :index),
class: "text-primary-600 text-white hover:underline"
) %>

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