feat: show org names for teams_distance slide

This commit is contained in:
Philipp Dormann 2025-04-04 22:16:59 +02:00
parent c286969a9d
commit c6f7210196
Signed by: philipp
GPG Key ID: 3BB9ADD52DCA4314

View File

@ -1,12 +1,9 @@
<script>
import axios from "axios";
import bg from "/beamershow_background.png?import";
import bg from "/beamershow_background.png?inline";
import { _ } from "svelte-i18n";
import { slide } from "svelte/transition";
import { apikey, api_endpoint, laptime_track } from "./store.js";
function init(el) {
el.focus();
}
$: pages = [
"general",
"runners_distance",
@ -313,6 +310,11 @@
>
{$_("top-organisationen")}
</h1>
{#if orgs.length === 0}
<p class="w-full text-center text-3xl font-semibold">
Noch keine Daten...
</p>
{:else}
<table
class="table font-semibold p-4 bg-white shadow rounded-lg w-full"
>
@ -351,6 +353,7 @@
{/each}
</tbody>
</table>
{/if}
</div>
{:else if current_page === "teams_distance"}
<div transition:slide|local>
@ -388,6 +391,7 @@
{i + 1}
</td>
<td class="border p-4 dark:border-dark-5">
{t.parent.name}<br />
{t.name}
</td>
<td class="border p-4 dark:border-dark-5">