feat: adds email as fallback for name in member details
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
carla 2026-01-06 16:43:13 +01:00
parent 74a2d07c24
commit b59a4ef61a
10 changed files with 212 additions and 10 deletions

View file

@ -36,7 +36,7 @@ defmodule MvWeb.ContributionPeriodLive.Show do
<.mockup_warning />
<.header>
{gettext("Contributions for %{name}", name: "#{@member.first_name} #{@member.last_name}")}
{gettext("Contributions for %{name}", name: MvWeb.MemberLive.Index.display_name(@member))}
<:subtitle>
{gettext("Contribution type")}:
<span class="font-semibold">{@member.contribution_type}</span>