make ammo packs in containers directly navigable in table view
This commit is contained in:
		@@ -1,4 +1,5 @@
 | 
			
		||||
# v0.9.6
 | 
			
		||||
- Make ammo packs in containers directly navigable in table view
 | 
			
		||||
- Update dependencies
 | 
			
		||||
 | 
			
		||||
# v0.9.5
 | 
			
		||||
 
 | 
			
		||||
@@ -130,6 +130,21 @@
 | 
			
		||||
              <%= type_name %>
 | 
			
		||||
            </.link>
 | 
			
		||||
          </:type>
 | 
			
		||||
          <:actions :let={%{count: pack_count} = pack}>
 | 
			
		||||
            <div class="py-2 px-4 h-full space-x-4 flex justify-center items-center">
 | 
			
		||||
              <.link
 | 
			
		||||
                navigate={~p"/ammo/show/#{pack}"}
 | 
			
		||||
                class="text-primary-600 link"
 | 
			
		||||
                aria-label={
 | 
			
		||||
                  dgettext("actions", "View pack of %{pack_count} bullets",
 | 
			
		||||
                    pack_count: pack_count
 | 
			
		||||
                  )
 | 
			
		||||
                }
 | 
			
		||||
              >
 | 
			
		||||
                <i class="fa-fw fa-lg fas fa-eye"></i>
 | 
			
		||||
              </.link>
 | 
			
		||||
            </div>
 | 
			
		||||
          </:actions>
 | 
			
		||||
        </.live_component>
 | 
			
		||||
      <% else %>
 | 
			
		||||
        <div class="flex flex-wrap justify-center items-stretch">
 | 
			
		||||
 
 | 
			
		||||
@@ -305,6 +305,7 @@ msgstr ""
 | 
			
		||||
msgid "Edit pack of %{pack_count} bullets"
 | 
			
		||||
msgstr ""
 | 
			
		||||
 | 
			
		||||
#: lib/cannery_web/live/container_live/show.html.heex:139
 | 
			
		||||
#: lib/cannery_web/live/pack_live/index.html.heex:148
 | 
			
		||||
#: lib/cannery_web/live/type_live/show.html.heex:201
 | 
			
		||||
#, elixir-autogen, elixir-format
 | 
			
		||||
 
 | 
			
		||||
@@ -318,6 +318,7 @@ msgstr ""
 | 
			
		||||
msgid "Edit pack of %{pack_count} bullets"
 | 
			
		||||
msgstr ""
 | 
			
		||||
 | 
			
		||||
#: lib/cannery_web/live/container_live/show.html.heex:139
 | 
			
		||||
#: lib/cannery_web/live/pack_live/index.html.heex:148
 | 
			
		||||
#: lib/cannery_web/live/type_live/show.html.heex:201
 | 
			
		||||
#, elixir-autogen, elixir-format, fuzzy
 | 
			
		||||
 
 | 
			
		||||
@@ -305,6 +305,7 @@ msgstr ""
 | 
			
		||||
msgid "Edit pack of %{pack_count} bullets"
 | 
			
		||||
msgstr ""
 | 
			
		||||
 | 
			
		||||
#: lib/cannery_web/live/container_live/show.html.heex:139
 | 
			
		||||
#: lib/cannery_web/live/pack_live/index.html.heex:148
 | 
			
		||||
#: lib/cannery_web/live/type_live/show.html.heex:201
 | 
			
		||||
#, elixir-autogen, elixir-format, fuzzy
 | 
			
		||||
 
 | 
			
		||||
@@ -318,6 +318,7 @@ msgstr ""
 | 
			
		||||
msgid "Edit pack of %{pack_count} bullets"
 | 
			
		||||
msgstr ""
 | 
			
		||||
 | 
			
		||||
#: lib/cannery_web/live/container_live/show.html.heex:139
 | 
			
		||||
#: lib/cannery_web/live/pack_live/index.html.heex:148
 | 
			
		||||
#: lib/cannery_web/live/type_live/show.html.heex:201
 | 
			
		||||
#, elixir-autogen, elixir-format, fuzzy
 | 
			
		||||
 
 | 
			
		||||
@@ -318,6 +318,7 @@ msgstr ""
 | 
			
		||||
msgid "Edit pack of %{pack_count} bullets"
 | 
			
		||||
msgstr ""
 | 
			
		||||
 | 
			
		||||
#: lib/cannery_web/live/container_live/show.html.heex:139
 | 
			
		||||
#: lib/cannery_web/live/pack_live/index.html.heex:148
 | 
			
		||||
#: lib/cannery_web/live/type_live/show.html.heex:201
 | 
			
		||||
#, elixir-autogen, elixir-format, fuzzy
 | 
			
		||||
 
 | 
			
		||||
@@ -316,6 +316,7 @@ msgstr ""
 | 
			
		||||
msgid "Edit pack of %{pack_count} bullets"
 | 
			
		||||
msgstr ""
 | 
			
		||||
 | 
			
		||||
#: lib/cannery_web/live/container_live/show.html.heex:139
 | 
			
		||||
#: lib/cannery_web/live/pack_live/index.html.heex:148
 | 
			
		||||
#: lib/cannery_web/live/type_live/show.html.heex:201
 | 
			
		||||
#, elixir-autogen, elixir-format, fuzzy
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user