show link to ammo pack in ammo pack table while viewing ammo type
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
03f8a2e8a7
commit
355752598c
@ -1,10 +1,11 @@
|
||||
# v0.8.6
|
||||
- Fix duplicate entries showing up
|
||||
- Show ammo groups under a type in a table by default
|
||||
- Show ammo packs under a type in a table by default
|
||||
- Only show historical ammo type information when displaying "Show used" in table
|
||||
- Only show historical ammo group information when displaying "Show used" in table
|
||||
- Only show historical ammo pack information when displaying "Show used" in table
|
||||
- Fix some values not being sorted in tables properly
|
||||
- Code quality improvements
|
||||
- Show link to ammo pack in ammo pack table while viewing ammo type
|
||||
|
||||
# v0.8.5
|
||||
- Add link in readme to github mirror
|
||||
|
@ -180,6 +180,21 @@
|
||||
<%= container_name %>
|
||||
</.link>
|
||||
</:container>
|
||||
<:actions :let={%{count: ammo_group_count} = ammo_group}>
|
||||
<div class="py-2 px-4 h-full space-x-4 flex justify-center items-center">
|
||||
<.link
|
||||
navigate={Routes.ammo_group_show_path(Endpoint, :show, ammo_group)}
|
||||
class="text-primary-600 link"
|
||||
aria-label={
|
||||
dgettext("actions", "View ammo group of %{ammo_group_count} bullets",
|
||||
ammo_group_count: ammo_group_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">
|
||||
|
@ -354,6 +354,7 @@ msgid "Delete ammo group of %{ammo_group_count} bullets"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/ammo_group_live/index.html.heex:132
|
||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:189
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "View ammo group of %{ammo_group_count} bullets"
|
||||
msgstr ""
|
||||
|
@ -367,6 +367,7 @@ msgid "Delete ammo group of %{ammo_group_count} bullets"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/ammo_group_live/index.html.heex:132
|
||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:189
|
||||
#, elixir-autogen, elixir-format, fuzzy
|
||||
msgid "View ammo group of %{ammo_group_count} bullets"
|
||||
msgstr ""
|
||||
|
@ -354,6 +354,7 @@ msgid "Delete ammo group of %{ammo_group_count} bullets"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/ammo_group_live/index.html.heex:132
|
||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:189
|
||||
#, elixir-autogen, elixir-format, fuzzy
|
||||
msgid "View ammo group of %{ammo_group_count} bullets"
|
||||
msgstr ""
|
||||
|
@ -367,6 +367,7 @@ msgid "Delete ammo group of %{ammo_group_count} bullets"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/ammo_group_live/index.html.heex:132
|
||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:189
|
||||
#, elixir-autogen, elixir-format, fuzzy
|
||||
msgid "View ammo group of %{ammo_group_count} bullets"
|
||||
msgstr ""
|
||||
|
@ -367,6 +367,7 @@ msgid "Delete ammo group of %{ammo_group_count} bullets"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/ammo_group_live/index.html.heex:132
|
||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:189
|
||||
#, elixir-autogen, elixir-format, fuzzy
|
||||
msgid "View ammo group of %{ammo_group_count} bullets"
|
||||
msgstr ""
|
||||
|
@ -365,6 +365,7 @@ msgid "Delete ammo group of %{ammo_group_count} bullets"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/live/ammo_group_live/index.html.heex:132
|
||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:189
|
||||
#, elixir-autogen, elixir-format, fuzzy
|
||||
msgid "View ammo group of %{ammo_group_count} bullets"
|
||||
msgstr ""
|
||||
|
Loading…
Reference in New Issue
Block a user