back
All checks were successful
Deploy Workshop-Wahlen (DEV / PROD) / deploy (push) Successful in 14s

This commit is contained in:
ProgrammGamer
2026-01-30 20:53:42 +01:00
parent e0c670b1c0
commit acd972bffc
2 changed files with 44 additions and 81 deletions

View File

@@ -181,7 +181,11 @@ add_shortcode('konficastle_workshop_ergebnis', function($atts) {
if (!empty($ws_teamers[$teamer_key])) {
$teamer_html = '<span class="teamers">'.esc_html(implode(', ', $ws_teamers[$teamer_key])).'</span>';
}
echo '<div class="title">'.esc_html($ws_name).($teamer_html ? ' '.$teamer_html : '').'<span class="count">('.$count.' TN)</span></div>';
echo '<div class="kc-workshop-header">';
echo '<span class="kc-workshop-title">'.esc_html($ws_name).'</span>';
if ($teamer_html) echo ' '.$teamer_html;
echo '<span class="kc-workshop-count">('.$count.' TN)</span>';
echo '</div>';
echo '<div class="kc-participants">';
foreach($teilnehmer as $t) {
$is_me = in_array(intval($t->id), $my_ids);