fix empty invite index page
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
shibao 2024-02-24 13:14:38 -05:00
parent 571e0b65b6
commit 48f7c8d18e
5 changed files with 19 additions and 18 deletions

View File

@ -1,4 +1,5 @@
# v0.1.16
- Fix empty invite index page
- Fix faq copy
# v0.1.15

View File

@ -4,12 +4,12 @@
</h1>
<%= if @invites |> Enum.empty?() do %>
<h1 class="title text-xl text-primary-400">
<h1 class="title text-xl text-primary-400 text-center">
<%= gettext("no invites 😔") %>
</h1>
<.link patch={~p"/invites"} class="btn btn-primary">
<%= dgettext("actions", "invite someone new!") %>
<.link patch={~p"/invites"} class="ml-auto btn btn-primary">
<%= dgettext("actions", "new invite") %>
</.link>
<% end %>

View File

@ -66,11 +66,6 @@ msgstr ""
msgid "edit"
msgstr ""
#: lib/memex_web/live/invite_live/index.html.heex:12
#, elixir-autogen, elixir-format
msgid "invite someone new!"
msgstr ""
#: lib/memex_web/components/core_components/topbar.html.heex:85
#: lib/memex_web/controllers/user_confirmation_html/new.html.heex:28
#: lib/memex_web/controllers/user_registration_html/new.html.heex:44
@ -217,3 +212,8 @@ msgstr ""
#, elixir-autogen, elixir-format
msgid "reset password"
msgstr ""
#: lib/memex_web/live/invite_live/index.html.heex:12
#, elixir-autogen, elixir-format
msgid "new invite"
msgstr ""

View File

@ -66,11 +66,6 @@ msgstr ""
msgid "edit"
msgstr ""
#: lib/memex_web/live/invite_live/index.html.heex:12
#, elixir-autogen, elixir-format
msgid "invite someone new!"
msgstr ""
#: lib/memex_web/components/core_components/topbar.html.heex:85
#: lib/memex_web/controllers/user_confirmation_html/new.html.heex:28
#: lib/memex_web/controllers/user_registration_html/new.html.heex:44
@ -217,3 +212,8 @@ msgstr ""
#, elixir-autogen, elixir-format, fuzzy
msgid "reset password"
msgstr ""
#: lib/memex_web/live/invite_live/index.html.heex:12
#, elixir-autogen, elixir-format, fuzzy
msgid "new invite"
msgstr ""

View File

@ -67,11 +67,6 @@ msgstr ""
msgid "edit"
msgstr ""
#: lib/memex_web/live/invite_live/index.html.heex:12
#, elixir-autogen, elixir-format
msgid "invite someone new!"
msgstr ""
#: lib/memex_web/components/core_components/topbar.html.heex:85
#: lib/memex_web/controllers/user_confirmation_html/new.html.heex:28
#: lib/memex_web/controllers/user_registration_html/new.html.heex:44
@ -218,3 +213,8 @@ msgstr ""
#, elixir-autogen, elixir-format, fuzzy
msgid "reset password"
msgstr ""
#: lib/memex_web/live/invite_live/index.html.heex:12
#, elixir-autogen, elixir-format, fuzzy
msgid "new invite"
msgstr ""