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

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

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 %>