default fallback on no data

This commit is contained in:
Philipp Dormann 2023-04-15 20:01:49 +02:00
parent de373390ba
commit e04e6713bc
Signed by: philipp
GPG Key ID: 3BB9ADD52DCA4314
1 changed files with 3 additions and 3 deletions

View File

@ -150,7 +150,7 @@
<div class="flex flex-wrap -mx-1 overflow-hidden mt-5">
<div class="my-1 px-1 w-full overflow-hidden sm:w-1/2 md:w-1/3">
<h1 class="text-5xl font-semibold text-center text-gray-900">
{general.total_runners}
{general.total_runners || "0"}
</h1>
<h1 class="text-2xl font-semibold text-center text-gray-900">
{$_("laeufer")}
@ -158,7 +158,7 @@
</div>
<div class="my-1 px-1 w-full overflow-hidden sm:w-1/2 md:w-1/3">
<h1 class="text-5xl font-semibold text-center text-gray-900">
{general.total_distance}
{general.total_distance || "0"}
</h1>
<h1 class="text-2xl font-semibold text-center text-gray-900">
{$_("kilometer-gesamt")}
@ -166,7 +166,7 @@
</div>
<div class="my-1 px-1 w-full overflow-hidden sm:w-1/2 md:w-1/3">
<h1 class="text-5xl font-semibold text-center text-gray-900">
{general.total_donation}
{general.total_donation || "0"}
</h1>
<h1 class="text-2xl font-semibold text-center text-gray-900">
{$_("spendensumme")}