From 52972daf958c369fdc6de11219eab50688bc20a3 Mon Sep 17 00:00:00 2001 From: ProgrammGamer Date: Fri, 30 Jan 2026 20:16:31 +0100 Subject: [PATCH] Frondend Roleback --- assets/frontend.css | 22 ---------------------- includes/frontend-ergebnis.php | 6 +----- 2 files changed, 1 insertion(+), 27 deletions(-) diff --git a/assets/frontend.css b/assets/frontend.css index eae6e1a..bb86597 100644 --- a/assets/frontend.css +++ b/assets/frontend.css @@ -1,25 +1,3 @@ -.kc-workshop-header { - display: flex; - align-items: center; - justify-content: space-between; - margin-bottom: 8px; - gap: 8px; -} -.kc-workshop-title { - font-weight: bold; - font-size: 1.08em; - flex: 1 1 auto; - min-width: 0; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; -} -.kc-workshop-count { - color: #2da66a; - font-size: 0.98em; - margin-left: 8px; - white-space: nowrap; -} .teamers { color: #888; font-size: 0.95em; diff --git a/includes/frontend-ergebnis.php b/includes/frontend-ergebnis.php index 0047b22..25f0a42 100644 --- a/includes/frontend-ergebnis.php +++ b/includes/frontend-ergebnis.php @@ -181,11 +181,7 @@ add_shortcode('konficastle_workshop_ergebnis', function($atts) { if (!empty($ws_teamers[$teamer_key])) { $teamer_html = ''.esc_html(implode(', ', $ws_teamers[$teamer_key])).''; } - echo '
'; - echo ''.esc_html($ws_name).''; - if ($teamer_html) echo ' '.$teamer_html; - echo '('.$count.' TN)'; - echo '
'; + echo '
'.esc_html($ws_name).($teamer_html ? ' '.$teamer_html : '').'('.$count.' TN)
'; echo '
'; foreach($teilnehmer as $t) { $is_me = in_array(intval($t->id), $my_ids);