forked from shibao/cannery
add attrs to user card
This commit is contained in:
parent
ba8d7988b3
commit
175eef95fb
@ -4,6 +4,10 @@ defmodule CanneryWeb.Components.UserCard do
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
use CanneryWeb, :component
|
use CanneryWeb, :component
|
||||||
|
alias Cannery.Accounts.User
|
||||||
|
|
||||||
|
attr :user, User, required: true
|
||||||
|
slot(:inner_block, required: true)
|
||||||
|
|
||||||
def user_card(assigns) do
|
def user_card(assigns) do
|
||||||
~H"""
|
~H"""
|
||||||
|
@ -807,7 +807,7 @@ msgstr "Hinzugefügt am"
|
|||||||
msgid "Added on:"
|
msgid "Added on:"
|
||||||
msgstr "Hinzugefügt am:"
|
msgstr "Hinzugefügt am:"
|
||||||
|
|
||||||
#: lib/cannery_web/components/user_card.ex:30
|
#: lib/cannery_web/components/user_card.ex:34
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "User registered on"
|
msgid "User registered on"
|
||||||
msgstr "Benutzer registriert am"
|
msgstr "Benutzer registriert am"
|
||||||
@ -939,3 +939,28 @@ msgstr ""
|
|||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "%{percentage}%"
|
msgid "%{percentage}%"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/range_live/index.ex:121
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Name: %{name}"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/range_live/index.ex:115
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Notes: %{notes}"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/range_live/index.html.heex:62
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
msgid "Rounds fired"
|
||||||
|
msgstr "Patronen verbraucht"
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/range_live/index.html.heex:64
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Rounds fired chart"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/range_live/index.ex:125
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
msgid "Rounds shot: %{count}"
|
||||||
|
msgstr "Patronen abgefeuert"
|
||||||
|
@ -201,3 +201,8 @@ msgstr ""
|
|||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Please select a valid user and ammo group"
|
msgid "Please select a valid user and ammo group"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/range_live/index.html.heex:67
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Your browser does not support the canvas element."
|
||||||
|
msgstr ""
|
||||||
|
@ -213,7 +213,7 @@ msgid "Are you sure you want to unstage this ammo?"
|
|||||||
msgstr "Sind sie sicher, dass Sie diese Munition demarkieren möchten?"
|
msgstr "Sind sie sicher, dass Sie diese Munition demarkieren möchten?"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.ex:132
|
#: lib/cannery_web/live/ammo_group_live/show.ex:132
|
||||||
#: lib/cannery_web/live/range_live/index.ex:131
|
#: lib/cannery_web/live/range_live/index.ex:181
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Are you sure you want to delete this shot record?"
|
msgid "Are you sure you want to delete this shot record?"
|
||||||
msgstr "Sind sie sicher, dass sie die Schießkladde löschen möchten?"
|
msgstr "Sind sie sicher, dass sie die Schießkladde löschen möchten?"
|
||||||
|
@ -790,7 +790,7 @@ msgstr ""
|
|||||||
msgid "Added on:"
|
msgid "Added on:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/components/user_card.ex:30
|
#: lib/cannery_web/components/user_card.ex:34
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "User registered on"
|
msgid "User registered on"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -922,3 +922,28 @@ msgstr ""
|
|||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "%{percentage}%"
|
msgid "%{percentage}%"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/range_live/index.ex:121
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Name: %{name}"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/range_live/index.ex:115
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Notes: %{notes}"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/range_live/index.html.heex:62
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Rounds fired"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/range_live/index.html.heex:64
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Rounds fired chart"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/range_live/index.ex:125
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Rounds shot: %{count}"
|
||||||
|
msgstr ""
|
||||||
|
@ -791,7 +791,7 @@ msgstr ""
|
|||||||
msgid "Added on:"
|
msgid "Added on:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/components/user_card.ex:30
|
#: lib/cannery_web/components/user_card.ex:34
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "User registered on"
|
msgid "User registered on"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -923,3 +923,28 @@ msgstr ""
|
|||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "%{percentage}%"
|
msgid "%{percentage}%"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/range_live/index.ex:121
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Name: %{name}"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/range_live/index.ex:115
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Notes: %{notes}"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/range_live/index.html.heex:62
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
msgid "Rounds fired"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/range_live/index.html.heex:64
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Rounds fired chart"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/range_live/index.ex:125
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
msgid "Rounds shot: %{count}"
|
||||||
|
msgstr ""
|
||||||
|
@ -184,3 +184,8 @@ msgstr ""
|
|||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Please select a valid user and ammo group"
|
msgid "Please select a valid user and ammo group"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/range_live/index.html.heex:67
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Your browser does not support the canvas element."
|
||||||
|
msgstr ""
|
||||||
|
@ -193,7 +193,7 @@ msgid "Are you sure you want to unstage this ammo?"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.ex:132
|
#: lib/cannery_web/live/ammo_group_live/show.ex:132
|
||||||
#: lib/cannery_web/live/range_live/index.ex:131
|
#: lib/cannery_web/live/range_live/index.ex:181
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Are you sure you want to delete this shot record?"
|
msgid "Are you sure you want to delete this shot record?"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -183,3 +183,8 @@ msgstr ""
|
|||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Please select a valid user and ammo group"
|
msgid "Please select a valid user and ammo group"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/range_live/index.html.heex:67
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Your browser does not support the canvas element."
|
||||||
|
msgstr ""
|
||||||
|
@ -805,7 +805,7 @@ msgstr ""
|
|||||||
msgid "Added on:"
|
msgid "Added on:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/components/user_card.ex:30
|
#: lib/cannery_web/components/user_card.ex:34
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "User registered on"
|
msgid "User registered on"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -937,3 +937,28 @@ msgstr ""
|
|||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "%{percentage}%"
|
msgid "%{percentage}%"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/range_live/index.ex:121
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Name: %{name}"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/range_live/index.ex:115
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Notes: %{notes}"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/range_live/index.html.heex:62
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
msgid "Rounds fired"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/range_live/index.html.heex:64
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Rounds fired chart"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/range_live/index.ex:125
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
msgid "Rounds shot: %{count}"
|
||||||
|
msgstr ""
|
||||||
|
@ -199,3 +199,8 @@ msgstr ""
|
|||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Please select a valid user and ammo group"
|
msgid "Please select a valid user and ammo group"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/range_live/index.html.heex:67
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Your browser does not support the canvas element."
|
||||||
|
msgstr ""
|
||||||
|
@ -212,7 +212,7 @@ msgid "Are you sure you want to unstage this ammo?"
|
|||||||
msgstr "Está seguro que desea desmontar esta munición?"
|
msgstr "Está seguro que desea desmontar esta munición?"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.ex:132
|
#: lib/cannery_web/live/ammo_group_live/show.ex:132
|
||||||
#: lib/cannery_web/live/range_live/index.ex:131
|
#: lib/cannery_web/live/range_live/index.ex:181
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Are you sure you want to delete this shot record?"
|
msgid "Are you sure you want to delete this shot record?"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -809,7 +809,7 @@ msgstr "Ajouté le"
|
|||||||
msgid "Added on:"
|
msgid "Added on:"
|
||||||
msgstr "Ajouté le :"
|
msgstr "Ajouté le :"
|
||||||
|
|
||||||
#: lib/cannery_web/components/user_card.ex:30
|
#: lib/cannery_web/components/user_card.ex:34
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "User registered on"
|
msgid "User registered on"
|
||||||
msgstr "Utilisateur·ice enregistré·e le"
|
msgstr "Utilisateur·ice enregistré·e le"
|
||||||
@ -942,3 +942,28 @@ msgstr ""
|
|||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "%{percentage}%"
|
msgid "%{percentage}%"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/range_live/index.ex:121
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Name: %{name}"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/range_live/index.ex:115
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Notes: %{notes}"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/range_live/index.html.heex:62
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
msgid "Rounds fired"
|
||||||
|
msgstr "Cartouches utilisées"
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/range_live/index.html.heex:64
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Rounds fired chart"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/range_live/index.ex:125
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
msgid "Rounds shot: %{count}"
|
||||||
|
msgstr "Cartouches tirées"
|
||||||
|
@ -200,3 +200,8 @@ msgstr "Veuillez choisir un type de munitions et un conteneur"
|
|||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Please select a valid user and ammo group"
|
msgid "Please select a valid user and ammo group"
|
||||||
msgstr "Veuillez choisir un utilisateur valide et un groupe de munitions"
|
msgstr "Veuillez choisir un utilisateur valide et un groupe de munitions"
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/range_live/index.html.heex:67
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Your browser does not support the canvas element."
|
||||||
|
msgstr ""
|
||||||
|
@ -214,7 +214,7 @@ msgid "Are you sure you want to unstage this ammo?"
|
|||||||
msgstr "Êtes-vous certain·e de vouloir désélectionner cette munition ?"
|
msgstr "Êtes-vous certain·e de vouloir désélectionner cette munition ?"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.ex:132
|
#: lib/cannery_web/live/ammo_group_live/show.ex:132
|
||||||
#: lib/cannery_web/live/range_live/index.ex:131
|
#: lib/cannery_web/live/range_live/index.ex:181
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Are you sure you want to delete this shot record?"
|
msgid "Are you sure you want to delete this shot record?"
|
||||||
msgstr "Êtes-vous certain·e de vouloir supprimer cet enregistrement de tir ?"
|
msgstr "Êtes-vous certain·e de vouloir supprimer cet enregistrement de tir ?"
|
||||||
|
@ -801,7 +801,7 @@ msgstr ""
|
|||||||
msgid "Added on:"
|
msgid "Added on:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/components/user_card.ex:30
|
#: lib/cannery_web/components/user_card.ex:34
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "User registered on"
|
msgid "User registered on"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -933,3 +933,28 @@ msgstr ""
|
|||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "%{percentage}%"
|
msgid "%{percentage}%"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/range_live/index.ex:121
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Name: %{name}"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/range_live/index.ex:115
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Notes: %{notes}"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/range_live/index.html.heex:62
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
msgid "Rounds fired"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/range_live/index.html.heex:64
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Rounds fired chart"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/range_live/index.ex:125
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
msgid "Rounds shot: %{count}"
|
||||||
|
msgstr ""
|
||||||
|
@ -199,3 +199,8 @@ msgstr ""
|
|||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Please select a valid user and ammo group"
|
msgid "Please select a valid user and ammo group"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/range_live/index.html.heex:67
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Your browser does not support the canvas element."
|
||||||
|
msgstr ""
|
||||||
|
@ -203,7 +203,7 @@ msgid "Are you sure you want to unstage this ammo?"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.ex:132
|
#: lib/cannery_web/live/ammo_group_live/show.ex:132
|
||||||
#: lib/cannery_web/live/range_live/index.ex:131
|
#: lib/cannery_web/live/range_live/index.ex:181
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Are you sure you want to delete this shot record?"
|
msgid "Are you sure you want to delete this shot record?"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -192,7 +192,7 @@ msgid "Are you sure you want to unstage this ammo?"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.ex:132
|
#: lib/cannery_web/live/ammo_group_live/show.ex:132
|
||||||
#: lib/cannery_web/live/range_live/index.ex:131
|
#: lib/cannery_web/live/range_live/index.ex:181
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Are you sure you want to delete this shot record?"
|
msgid "Are you sure you want to delete this shot record?"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
Loading…
Reference in New Issue
Block a user