From 2db9ab968f6e784e93d38de9d39086186db685a5 Mon Sep 17 00:00:00 2001 From: shibao Date: Fri, 1 Jul 2022 00:20:50 -0400 Subject: [PATCH] rename ammo types page to catalog --- lib/cannery_web/components/topbar.ex | 4 ++-- lib/cannery_web/live/ammo_type_live/index.html.heex | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/cannery_web/components/topbar.ex b/lib/cannery_web/components/topbar.ex index 0936510..130f454 100644 --- a/lib/cannery_web/components/topbar.ex +++ b/lib/cannery_web/components/topbar.ex @@ -47,13 +47,13 @@ defmodule CanneryWeb.Components.Topbar do ) %>
  • - <%= live_redirect(gettext("Ammo"), + <%= live_redirect(gettext("Catalog"), to: Routes.ammo_type_index_path(Endpoint, :index), class: "text-primary-600 text-white hover:underline" ) %>
  • - <%= live_redirect(gettext("Manage"), + <%= live_redirect(gettext("Ammo"), to: Routes.ammo_group_index_path(Endpoint, :index), class: "text-primary-600 text-white hover:underline" ) %> diff --git a/lib/cannery_web/live/ammo_type_live/index.html.heex b/lib/cannery_web/live/ammo_type_live/index.html.heex index 90243e9..92bca7b 100644 --- a/lib/cannery_web/live/ammo_type_live/index.html.heex +++ b/lib/cannery_web/live/ammo_type_live/index.html.heex @@ -1,6 +1,6 @@

    - <%= gettext("Ammo Types") %> + <%= gettext("Catalog") %>

    <%= if @rows |> Enum.empty?() do %>